I’m working on BabylonJS v 4.2 and I do not want to use StandardMaterial at all in my project. To limit bundle size. But I’m starting to have this error.
The surprise is that I need to import StandardMaterial to not use it at all cause All is done using NodeMaterial.
This import sorts the problem out but I will not use this material at all.
Also, I can import it rebuild and after the error is gone, remove this import, and app works just fine for some time. And then it’s again starting to show up.
How to fix the fact that I will not use it on the Ground with a displacement and primitive meshes created with a MeshBuilder.