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 (12)

  1. 8e29d4b299e9bcd45f2509f2d3816df7?d=mm

    scieon

    Apr 26, 2017 10:32

    Where is the option to download the attached project?.

  2. 3fed23cdeabff086ac9893fbe81c22da?d=mm

    Starya

    Mar 04, 2017 08:46

    I can confirm this is fixed in 5.3.7f1.

  3. 3065393832d807bb6d90e5bdc32ed4c2?d=mm

    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. 4f379c0fce210d6e327e64722a7d8b64?d=mm

    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. 872718907eccf5fa1c7f0ba5956fee80?d=mm

    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. 3ce643d6db946388b211c83a809fcc98?d=mm

    tametick

    Jan 27, 2017 08:36

    still happens to use as well on 5.5.0p4

  7. 76d6fd79c09c8d949b6c37c567e31593?d=mm

    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. A6de77c150807dc1bc1b8053a4247f8a?d=mm

    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. 67647378f9ccfed3fa572fdc1557df48?d=mm

    PapaCashew

    Jan 16, 2017 17:22

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

  10. 354e882a407bfcd2ebb89e43d26c5c63?d=mm

    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

All about bugs

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