I’m having a tough problem on Unity 5.0.0, happening ONLY in non-development builds. It happens systematically on ALL non-development builds and on ALL platforms I tested (mac + 2 android devices).
Here is the logs I see :
"
Receiving unhandled NULL exception
Obtained 12 stack frames.
"
But the 12 stack frames are not printed after this, and the program seems to enter in an infinite loop, the app freezes, and must be hard killed.
So far I found a line to comment to make it work. This line is supposed to trigger the creations of a some game obects with meshes on the next update. But I can’t find the exact line where the app crashes. This is extremely frustrating, especially the fact that I can’t see the stack trace in the logs. I’m a bit stuck. I’m currently downloading 5.0.1, but I’ve seen nothing in the changelogs that could fix this.
So after upgrading to 5.0.1, the problem persists unfortunately. Looks like a bug in Unity to me. At least I wish there is a stack trace for the error.
I’ve filled a bug report with a very simple project to reproduce the problem. Please have a look at it as so far I don’t see anyway to solve or turn around this.
How long does it take to have some feedback on a bug report? I’m quite stuck with this one.
I’ve narrowed down a bit more the problem since I submitted the bug report, is there a way to modify the description?
Actually the problem happens each time I change the size of the arrays (triangles, vertices, colors, uvs) in a dynamic mesh. It works on development build but freezes as soon as I switch to non-development build.
OK, so I’ve submitted another bug report , with a more precise sample to reproduce the problem. It happens each time you change programmatically the number of triangles (or vertices) in a Mesh. This seems to be an important problem for me, and I hope that will be fixed, until them, I’m stuck.