ok so i’ve submitted several bug reports but in a current project I still experience sporadic crashes in the Game view.
I am concerned that these crashes might occur again when I deploy to iOS.
I’m on OSX. What’s the best approach to debugging random crashes in the editor Game view?
Start by checking what the editor log says about the crash or about what it last recorded prior to it.
What kind of crash is it? Unity drops to dashboard? Or does Unity just lock up? Or is it just a null reference?
Did you try attaching the debugger and running? Maybe it can grab the exception and give you more information.
If Unity is locking up, you probably just have a loop that never exits, or perhaps a property getter/setter that refers to itself recursively and never resolves.
Unhandled NULL exception
posted in a more detailed thread. Debugging unhandled NULL exception in editor Game view