To reproduce I used the model viewer template, imported my model, deleted the PlayCanvas cube, placed my template in the scene, and then turned on light mapping on the imported model. This model does have UV1’s. Here is the project: https://playcanvas.com/project/880175/overview/ambientlighterror
I have been working on a project for quite a while with this error looming. It doesn’t seem to affect the scene in any way, I just always get the error in the console. I get the same error from using a default cube and checking on light mapping instead of using an imported model. I cannot reproduce this error on Chrome. Thoughts?
I wouldn’t say it is a critical issue but we are targeting as many mobile phones as we can so we would just like to be able to weed it out as an issue whenever we come across graphical issues
Thanks so much. Not really sure when its appropriate for me to add engine issues myself, otherwise I would have done that. I would hate to submit an issue that is just user error on my end.
it’s our problem, we have a repro and can fix it. In general - in one case we create a shader with a missing line … so this prints the error. But in this case when there’s the error we do not use the shader, so there is no impact. I’ll change to code to stop generating this shader in this one case.