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?

Accepted Reply

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.

Replies

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.