Hi,
I've been trying to get a bug for some time now and I seem to be coming at it all wrong cause I still don't have a clue.
The editor suddenly started crashing on play, only when I run a particular scene so I didn't think it was a problem with assets/versions or anything like that.
I tried commenting out the last scripting changes I made and undoing the last changes I made in the editor, but this didn't fix the issue. I can stop the editor from crashing by making it throw errors in start() and awake() functions. Therefore I think the problem is most probably in my code or editor setup.
When searching for other people with this problem I basically found two main reasons for the editor crashing: asset/version/externals problem (which I don't think appplies to me) or some kind of infinite loop/memory leak. I tried disabling all latest (and-not-so-latest) loop/coroutine/... changes I made but still no luck. I also do not have any meshes without materials (as suggested here: https://forum.unity3d.com/threads/solved-unity-5-1-crash-in-playmode.331976/ ); it's a 2D project that doesn't use any meshes whatsoever.
My main question is if someone can tell me what the editor logs reveal? But I would also like to ask how you would proceed debugging from here. I unfortunately don't have a recent enough back-up that would make it easy to reconstruct everything.
[1]: /storage/temp/96626-editor-prevlog.pdf
↧