Sometimes it seems Unity iphone wants to make me nuts. Something is wrong with the camera depths and scripts won’t work as they should for no reason. Restarting unity changes this behavior, but sometimes after I “fixed” a problem I end up with the problem again after i restarted unity. I think this started with 1.5.
Anyone else here with “magical” problems? Or should i better reinstall the whole computer?
Reinstalling is almost never the answer. What you’re experiencing sounds like undefined behavior to me. For example, if you have two camera depths that are exactly the same, then which one draws on top can vary from one run to another. Now that might not be the case here, but every time I’ve come across some problem that doesn’t make sense at first, it always turned out that there actually was a reason after all that I overlooked.
that might be something you have running in the background during your game that you are not correctly shutting down in the OnApplicationQuit handler for example or something.
I’ve had hardly no crashes with Unity iPhone at all.
I’ve had the crashing on quit too, and it seems to be somehow related to Remote, since it hasn’t occurred once after I changed the code to accept mouse input and stopped testing solely with the Remote.
Also, putting values to to uninitialized two-dimensional array seems to crash Unity on some occasions, but I haven’t been able to discern the exact details.