iPad crash - no crash
Nklrcade
Member, PRO Posts: 95
Project works great on my computer, unfortunately it SOMETIMES crashes on my iPad. My game will crash 3 out of 10 times it's opened - this is without changing any code or graphics. Why is it so inconsistent?? It makes it impossible to tell whats causing the crash.
Comments
*Obviously, on a device there is no way to see these so I usually create a text attribute and use a concatenating system where I do change attribute game.Debug to game.Debug.."1" and then change attribute game.Debug to game.Debug.."2" a little later on, and so forth. With a DisplayText actor set to show game.Debug, I can watch as the numbers get added in: 1... 12... 123... 1234... crash. I would then know that the crash occurs before game.Debug.."5" happens.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I had a game that was fine on iOS6 and then it crashed on opening with iOS7 - I tracked that down to memory dump of 330mb - it was not an issue until the recent changes to GameSalad and iOS.
I can't say what happened with either at the time but it meant I had to optimise and make things much more efficient.
Other apps use your memory and reserve your memory, so if you are borderline near that and it send the app to a memory error - boom - crashes. If you have lots of free memory - it might give a hidden warning but does not crash.
Just an idea.
But as with anything intermittent it's hard to narrow it down.
Cheers, m@
the game crashed when it tried to load main page. the frustrating part is that sometimes it does load and the game works fine.
I currently have all 72 levels, animation, tables in my main scene... I guess i should try separating the game into 72 scenes??
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS