- Home /
Unity crashes when opening a scene!?
I've been working in a scene for about 3 weeks and now (suddenly) I can't open the scene, it started like that I could have the scene open but when I pressed "play" Unity crashed and when I "restarted" it (1 or 2 minutes after the crash) Unity just crashed again and again, so I tried to switch (windows 7) user and then open the project in another scene, which worked 100%. But when I tried to open the scene (the one I've been working really hard on) unity just crashed!?
I've tried to reinstall Unity which didn't work.. Please if you know how I could fix this I would be extremely thankful!
/David
Do you have any scripts that are Executing in Edit mode?
Answer by TheShadyColombian · Nov 21, 2014 at 04:48 AM
what I suggest for now, is that you load up as many prefabs as possible, so as not to waste time, but also, try different versions of unity? no idea, educated guess
I'll try and older version of unity but I don't think it's gonna work since this problem didn't appear after an update, it just appeared:(
Answer by DubT · Nov 21, 2014 at 05:15 AM
are you using any code with 'for' or 'while' loops??
if so thats whats crashed my scenes loads of times!!!
change the script to us 'if' instead and increment 'var' then check for when 'var' hits correct in 'Update'
just a guess, might help??
Your answer
![](https://koobas.hobune.stream/wayback/20220613172039im_/https://answers.unity.com/themes/thub/images/avi.jpg)