- Home /
Unity Iphone Build keeps crashin
I have an iphone game that ive been working on for a while. When I build the file in xcode, it runs fine on my phone the first time it is opened. When I close the app and end the aplication and open it again, it doesnt work.
Basically: I build the xcode project run it on my phone it works close the game and quit the game in my background on my iphone reopen the game it doesnt load from the beginning.
Does anyone know what is happening?
Hi! Sounds like some initialization issue, meaning that the overhead of having xcode spitting out debug.log and whatnot, slows the app down so that objects are initialized correctly.
When the app starts without xcode connected, a lot of things run more quickly-> you are probably getting null reference somewhere.
Answer by Graham-Dunnett · Nov 29, 2012 at 11:44 AM
How do you close the application? I do not think there is a way to do this on the device. (Or do you mean you terminate the application in Xcode?)
Use the Xcode organiser window. It should show you the device logs, which should give you some idea of what's happening/not happening. Post the one for your game here if you need some more help.
Your answer
Follow this Question
Related Questions
Fps game gun reloading problem 1 Answer
Unity FPS Rocket Launcher Light and Sound Effect 0 Answers
Game keeps locking up "deleted gameObject" in hierarchy 0 Answers
does the iPad have a max FPS 2 Answers
Any problem with using real weapons in a FPS game? 0 Answers