Search Issue Tracker

Fixed in 5.4.2

Votes

19

Found in

5.4.0f3

Issue ID

820863

Regression

No

[iOS] App freezes in applicationDidBecomeActive() on iOS 10

iOS

-

Steps to reproduce:
1) Open the latest attached project.
2) Build and run on an iOS 10 device (using Xcode 8 beta).
3) When the button starts spinning, press the lock button.
4) Unlock the phone and return to the app.

The app freezes in applicationDidBecomeActive(). If it doesn't, repeat steps 3-4.
Then the freeze occurs, locking and unlocking the phone again makes the app resume normally.

Reproduced on:
5.5.0a5, 5.4.0f3, 5.3.6f1

Devices:
iPhone SE (iOS 10 - 14A5309d) - reproduced
iPhone SE (iOS 10 - 14A5335b) - reproduced
iPad Mini 2 (iOS 10 - 14A5322e) - not reproduced

Comments (13)

  1. scieon

    Apr 26, 2017 10:32

    Where is the option to download the attached project?.

  2. Starya

    Mar 04, 2017 08:46

    I can confirm this is fixed in 5.3.7f1.

  3. xuyilai

    Feb 14, 2017 04:31

    fixed in 5.3.6p5, but still have the same problem in 5.4.3p4, 5.5.0p4

  4. rezonate

    Feb 02, 2017 01:11

    This is also happening to me. iOS10, Unity 5.5.1. When I resume the app after closing, or locking the screen, the app is frozen. I am also using Application.targetFrameRate = 60 if it helps.

  5. Superxwolf

    Jan 30, 2017 01:23

    Please open this bug up for voting as it is not fixed as of Unity 5.5.1, this happens when locking the phone and also when receiving a phone call.

  6. tametick

    Jan 27, 2017 08:36

    still happens to use as well on 5.5.0p4

  7. nitroy2k

    Jan 21, 2017 14:38

    Same problem unity 5.5.0p4
    I had Application.targetFrameRate = 60 and it crashed few times,

    Now I removed script for target frame and it works ... So this error is still active on Unity 5.5..0p4

  8. andyvene

    Jan 17, 2017 11:20

    It is not fixed. Unity 5.5.0 f3 and Xcode 8.2.1

    This kind of crash may happen if you have set a Application.targetFrameRate = 60 for iOS.
    Try to remove it and then it won't crash when coming back to app after lock button.
    Doesn't affect the home button.

  9. PapaCashew

    Jan 16, 2017 17:22

    Same problem. Tried Unity version 5.4.2f1 and 5.5.0p4.

  10. FSpark

    Nov 30, 2016 18:00

    Not fixed - can still reproduce in Unity 5.4.2f1 with iPhone6 running iOS 10.

    Possibly related to https://issuetracker.unity3d.com/issues/ios-changing-the-screen-orientation-via-a-script-sometimes-results-in-corrupted-view-on-ios-10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.