Messed up stuff after app (device) was offline for a while!?

I notice strange app behavior when the device was offline. When turning off the device and starting it again on the next day the game which is still open from the day before shows strange behavior and I have no idea why?

Shouldn’t the game just continue at the point where it was left?

For example: I have a main menu, showing some buttons and text and even some animated stuff. But when continuing the game only some of the stuff is shown and only some of the animations are running.

It looks like only some of the transitions are even working also. When clicking on a button which normally brings up another menu it still closes the visible stuff but the menu is not brought up and not shown… instead the screen stays blang without the elements loading.

This is the strange part, because only some of the defined actions are started.

What can cause this and how can I fix it?

Is this on Android or iOS?

If it’s Android, many textures, in particular, things made with snapshots and such have to be recreated.

Rob

thx for the info but it happened on an iPad running iOS 8.x

That’s a bit of a head-scratcher.  Could the transitions be finishing in the background and not re-starting?

some transitions are done in a loop, like for example:

ob1.trans2=transition.to (… onComplete=ob1.trans1)

ob1.trans1=transition.to (… onComplete=ob1.trans2)

but the other stuff is just a function which gets called by a button push. The function is getting called because it still blends out stuff… but the next step (blending in new stuff) is not happening. So it seems like somehow the transitions get messed up and I can’t find a pattern to see what transitions and why.

Is this on Android or iOS?

If it’s Android, many textures, in particular, things made with snapshots and such have to be recreated.

Rob

thx for the info but it happened on an iPad running iOS 8.x

That’s a bit of a head-scratcher.  Could the transitions be finishing in the background and not re-starting?

some transitions are done in a loop, like for example:

ob1.trans2=transition.to (… onComplete=ob1.trans1)

ob1.trans1=transition.to (… onComplete=ob1.trans2)

but the other stuff is just a function which gets called by a button push. The function is getting called because it still blends out stuff… but the next step (blending in new stuff) is not happening. So it seems like somehow the transitions get messed up and I can’t find a pattern to see what transitions and why.