"Crash!!!"

Ever since I upgraded to Unity 5.2 I have been experiencing editor crashes with a speciffic project which prevent me from working. The crashes happen when I build the game (for Windows/Linux) and when I exit play mode in the editor. I’ve been having crashes when exiting play mode since 5.1 on this specific project but I’ve always been able to build it.
Both crashes produce the same output in the log stating “Crash!!!”. I have no code errors and the game runs fine in play mode in the editor. I also haven’t changed anything in the project prior to the upgrade and after that. My OS is Windows 10 and I don’t have a machine with an older Windows (neither at home nor at work) to test if it builds.
I’m attaching the editor log. Looking at it I couldn’t see anything that I know can cause problems. Again, these crashes happen only on that specific project but the project is errorless and it was building before upgrading to 5.2.
Could anyone land a hand and shed some light on what might be causing this ? I hope I’m just missing something in the error log that otherwise is fixible. :slight_smile:

2310210–155654–Editor.zip (50.1 KB)

HI,
It looks like it could be this issue: Unity Issue Tracker - [Crash] Memory corruption or double delete in LightmapSnapshot.
Its currently being investigated.

Thanks, Karl! It does look like it indeed. I voted on the issue and will keep an eye on it’s status. If a patch comes out and I’m still not able to build, I’ll post back. I tried to submit a bug report but the reporter fails to pack the data or if it manages to pack it, it doesn’t send it so I couldn’t provide my project but it’s a 4GB project so I guess it could take up a decent amount of memory.

1 Like

After a lot of experiments of building separate scenes, excluding assets and what not I found the source of the problem. It was the baked light for one of the levels. The data was about 50MB and Unity started building as soon as I deleted it.
I hope this helps anyone having similar issues and the Unity team as well.

1 Like