I wrote a script that loaded an infinite number of prefab objects in memory and unity stopped working and wouldn’t respond so I closed it down and confirmed I wanted to save the scene. When I tried to reopen unity it told me that the unity editor wouldn’t open or something along those lines. I rebooted the computer and tried again and my project opened but when I try to open the scene that crashed unity doesn’t appear to respond at all.
Any ideas how i can fix this please?
The only thing you can do is get all the files out of the project folder create a new project and put them in there and start new scene
@garryuk79:
I’m having a similar problem. I was working on a project and after using it for a few hours I ended with a bad crash where I had to restart the computer. Now the project won’t open (error wise, all I get in the Mac OS X Console is " 5/1/13 12:12:44.678 PM com.apple.launchd.peruser.501[144]: ([0x0-0x4c04c].com.unity3d.UnityEditor3.x[2813]) Exited with code: 1 ")
I was hoping that there would be another answer besides having to re-do the project, but it looks like that may be what’s necessary.
@Garry: If you saved a scene that is bigger than what your OS can handle then that scene is basically lost. It should still be possible to delete the scene and salvage the rest of the project. If you’re on a 2gb application memory space OS like winxp 32 bit the scene might still open on a win7. But other than that
@Jason: Not sure you have the same problem as Garry. Could be that one or more files was corrupted when it crashed.
My advice: Enable meta files and put your work in a revision control system so you can always restore it to your latest commit. Loosing ones work always sucks, the only thing you can really do is develop a workflow that protects yourself from it.
Thanks, luckily I didn’t lose anything important as they were just exercise files. I’m definitely going to backup my projects from now on though.
Garry
I am using this for school and this legit just happened to me rn