I found that displaying one specific mesh would make it crash.
The mesh is using the same material as some other meshes. But the material on this mesh makes it bug.
I cloned the material and did had the same issue.
I tested setting the bumpTexture to null (previously I had a map) and then it works.
So for now I disabled the bumpTexture on that mesh.
I wanted to try to reproduce it with playground but I can’t load it on iOS.
It needs split.js.map & jquery.min.map which are referenced. Withtout it the pg waits forever.
With all the tests I made I think the glow layer is causing the main problem.
Strangely the scene showcasing the GlowLayer is working fine (https://www.babylonjs-playground.com/#LRFB2D#1).
In my app, disabling the glow layer or not having an emissive material make it work again.
What is strange is that it only occurs with some meshes.
I have no issue with Hand_Skin but with other it can crash quickly.
I hope you can see it and try to solve it now.
Let me know if I can help further.
I’m so happy to read this !
All in all, I have passed like around 3 days trying to see where it’s coming from.
The hardest part was that the bug wasn’t present all the time (and I don’t have an iOS device to always test and I don’t have a Mac to get the console :p).
I have some parts of the application working with a lot of meshes and glow. It was never an issue.
Today I just tried everything I could think of.