Unity app crash after resuming from iOS4 suspend

Hello, I’m new to Unity. I have created a very simple scene with a cube spinning and then build run it on my iPhone.

Things appears to work alright at the beginning. However, when I press the home button on my iPhone and put the app in suspend mode, the app may not be able to resume properly (the screen with the cube shows up, halt for a few seconds and then crash) after suspending for a while.

Strange thing is that it may not happen every time, some times it couldn’t resume properly after suspending for an hour. And sometimes it could suspend for a few hours and then resume properly.

I’m suspecting if it’s the problem of Time.deltaTime value being too big after suspending for a long time, but I’m not sure.

Is there any thing I need to take care of concerning the iOS4 “multi-tasking” feature?
It would be greatly appreciated if anyone could guide me on how to diagnosis this problem! Thanks!!

For reference, I’m using Unity 3.0.0f1, Xcode 3.2.4 with iOS4 4.1 SDK.
And my iPhone is iPhone 4 running iOS 4.1.

Thanks!

Hi, welcome to the forum!

This bug was reported some time ago and we believed it was fixed. Please can you report this new occurrence of it (menu: Help > Report A Bug). If you include in the report that it might be related to bug 367401, it will probably help bring it to the developers’ attention faster.

Thank you andeeee! I had reported the bug.
Hope this problem can get fixed!

Hi, I noticed that the bug system had automatically took the first line of my bug report as its title, which, doesn’t tell what the problem is.
May I know if it’s possible for me to change it? I’m thinking the bug may not get noticed with its current title :?

The QA team know about this - they will certainly read the whole report and re-title it if necessary.

Hi, seems i am experiencing the Same issue with 3.0.0f5. App will resume but if it is longer off, it hangs and then crashes.:expressionless:

Thanks andeeee!

Was this fixed? it still seems to be happening with 3.1

Exactly this? or you just have your app that crashes after resuming? :wink:
Probably wait a little for 3.2 (we’ve fixed a lot of bugs for that one ;-)) and bug report if still present