Crash when loading scene in Unity 5.4.1

Hello,

So I’ve updated my project to 5.4.1, and have found that whenever I try and load a scene using SceneManager.LoadScene () the editor crashes. This only happens in the editor. In builds there’s no problem. Curiously, after I’ve built the project, the problem also goes away in the editor, but it comes back if I close the editor and start it again.

This is what the legible part of the editor log says if its any help:

Unity Editor [version: Unity 5.4.1f1_649f48bbbf0f]

Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at 0033:40d8b5b6.

Error occurred at 2016-09-16_111058.
F:\Program Files\Unity 5.4\Editor\Unity.exe, run by Jeff.
69% memory in use.
16273 MB physical memory [4895 MB free].
48827 MB paging file [35179 MB free].
8388608 MB user address space [8386215 MB free].
Read from location 07951000 caused an access violation.

Thanks

I usually try to solve crashes by disabling all gameobjects/script, until it works,
then enable them back few at a time… to see whats causing it…

Or is it crashing even if you load empty scene?

Isn’t there anything else in editor.log file?

Close Unity, back up the entire project, delete the Library folder, open the project. Unity will rebuild Library which will often repair this sort of behavior.

1 Like

Cheers Dave, that worked a charm.

1 Like