- Home /
unity 4.6.2 crashes every second time I push play
My version of unity 4.6.1 and 4.6.2 crashes every second time I hit the play button, It runs fine otherwise. I'm on mavericks on a mac. What could I do to fix this. Is there some sort of way reset unity to the default settings?
Does it crash on multiple projects or just one in particular? Have you tried re-installing Unity?
I am currently having some similar issues to this. Do you by any chance have the Sprite Packer enabled? In my case, if the Sprite Packer runs, the game will play. If the Sprite Packer doesn't need to run, the engine will crash.
Having ProBuilder/ProCore prefabs in my scene did this to me when moving to 4.6.
I don't have those. For now I have to save and quit after everytime I press play.
Answer by TinyMobGraham · Feb 11, 2015 at 03:53 AM
Ok, I've finally fixed the issue. Edit -> Project Settings -> Editor -> Sprite Packer Mode was set to "Always Enabled" by default with the new version of Unity. I changed that to "Disabled" and magically everything worked! I have no idea what it is doing that breaks everything (Maybe someone else will have more info, but at least my problem is fixed now).
If you upgraded unity over an already existing project, deleting the library folder and letting unity reimport everything might help.
@hexagonius I'm having this issue, started with my Unity 5.2.1f1 update. How do i delete the library folder? Will this give me a lot of headache? Could stuff go terribly wrong? Like resetting prefabs and other "fun" stuff in my levels?
the folder is right next to the assets folder. it contains Unity's versions of files, none of the originals will be list. Unity will just reimport everything and recreate the files, that's all
Answer by jnhxdwh · Mar 21, 2017 at 06:00 AM
I had similar problem but maybe different reasons.
I had a thread running a while(1)
loop, and when the game ends in the editor this thread doesn't get killed.
Check if you have any threads like this running and make sure to kill it when the game ends.
Your answer
