How to isolate a bug that crashes Unity

Hi guys, I have a random bug thats crashing Unity editor but because the editors crashed and gone I’m at a loss how to find it. Its kind of a stage where I free the player to wander freely and that happens ok, only a few seconds later Unity crashes entirely. Its a biggish world and I can’t think what on earth might be causing it but I’m 99.9% sure its code execution somewhere. Thing is everything should be sorted…

Is there anyway on Windows 8 to access the error log from a crashed editor somehow?
Thanks

So the crash occurs in Editor/play mode or on standalone builds?

There is editor.log that shows you logs from Unity Editor: Unity - Manual: Log files
Located in: C:\Users\username\AppData\Local\Unity\Editor\Editor.log

If Editor crashes when you hit play, by showing you Unity editor not responding error. there is known bug related to animation events which crashes Unity editor in that way.

Hope this info helps.

1 Like

I actually did isolate it to something to do with an animation with animation events. Thanks for the tip.

Glad to hear it. This has already been reported as bug, and fix should appear in Unity 5.4

1 Like