Custom material getting converted to PhysicallyBasedMaterial

I have a custom material in Reality Composer.

When I attach it to a cube and try loading the scene in XCode, the material cannot be cast to a ShaderGraphMaterial because it has been changed to a PhysicallyBasedMaterial.

The material was always a Custom material, I did not change the type in Reality Composer.

Does anyone know how to fix?

Answered by jnorris441 in 782633022

This is the default behavior when something in your material is not valid...if you keep messing with it to get rid of the errors, it will work.

Accepted Answer

This is the default behavior when something in your material is not valid...if you keep messing with it to get rid of the errors, it will work.

Custom material getting converted to PhysicallyBasedMaterial
 
 
Q