- Home /
Unity Game Crashes?
Hi everyone, I've been working for a while with a friend witha unity game. Today I compiled the game for mac. I tryed to open it, but it doesn't work. I thinked it was my project, so I asked my friend to send me an executable for mac, but it doesn't work too! If he try to open it with the windows build, it works fine. But everytime I open the game it gives me this "error": The last time you opened Ternion, it unexpectedly quit while reopening windows. Do you want to reopen this windows again? If you choose not to reopen windows, you may have to open and position the windows yourself.
Don't Reopen - Reopen
I try to press Reopen but, it doesn't work, and after a few seconds, the game crashes.
Answer by IgorAherne · Jul 21, 2013 at 10:47 PM
If you want to open the game on mac, check that the file's extension is .app
if it's not .app - then you've compiled something not intended for mac
Answer by nottelling · Aug 29, 2013 at 06:25 PM
People at KSP where having the same problem http://forum.kerbalspaceprogram.com/archive/index.php/t-25627.html
You can fix this by going to your username's folder, then to Library, then to Saved Application State. Find the folder called unity.Squad.Kerbal Space Program.savedState and delete it. The Library folder may be hidden. If so, you will need to open terminal and enter "chflags nohidden ~/Library".
Obviously, it'll be unity..savedState instead.
Also lol, at 2 answers above. To be fair, it's a totally ridiculous and worse than non descript error message on OSX's part. Also, you should comment instead of answer ebloox. I know the comment button is sorta hidden but it's there somewhere (I actually don't know where it is lol).
Oh hey, okay so the comment button only shows up if you're logged in. In other news, I was NOT logged in when I tried to type the response above and Unity's "login to answer this question" button took me to a login page and then to some completely unrelated page when I logged in. Luckily my browser cached my response after I hit back a few times. But I still had to refresh the page in order to post and then I got stuck on a broken "choose your display name" page on unity.
We just ran into this problem in our own project. I'm not sure what triggered it but it is one nasty bug and not much info available on it so I was deter$$anonymous$$ed to get an answer up :).
S'ok, ad$$anonymous$$s can convert answers to comments. ;)
Answer by oktushka · Aug 30, 2020 at 12:53 PM
Hi @nottelling , @eBloox , Voila! I've just solved this problem by deleting all Unity-related files inside ~Library/Caches folder on my Mac!