I can't seem to get to the bottom of why my game crashes if I resume the game several minutes after exiting.
I play the game for a short while, exit using the ipad home button, wait several minutes and resume. The screen shows my game where I left it, but it is unresponsive, then, about 5-10 seconds later, quits without warning. The next time I open the game, it starts from the beginning and shows the startup movie.
If I resume within a few minutes of exiting, the game continues as normal. This makes me think that there may be an issue with the engine, and its not something wrong with my code. Perhaps to do with ios reallocating resources?
Is anyone else experiencing this?
I have only noticed that this happens since I upgraded to the May 2012 version of the udk. I don't really want to ugrade to the July version as I have virtually finished the game and only have a couple of issues to resolve before I can release it.
Are there any events I can hook onto for exit or resume, or memory being freed by ios?
Many thanks in advance,
EDIT : I just experimented by exiting, opening several large games and then returning to my game, and it started from the beginning - so it appears that if ios reallocates resources, the game starts from the beginning. So my problem must be caused by something else...