Search Issue Tracker

Status: Fixed in Unity 5.6.0

Votes

25

Found in

5.5.0p2

Issue ID

862754

Regression

Yes

[iOS] Crash in UnityRepaint() when resuming the app with different landscape orientation if running at 60 FPS on iOS 10

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

When the orientation of the device is changed after the phone has been locked and before resuming the app, a crash occurs in UnityRepaint() if the app is running @ 60 FPS.

Steps to reproduce:
1) Open the attached project.
2) Build for iOS.
3) Run on a device.
4) Lock the screen.
5) Flip the device by 180 degrees.
6) Resume the app.

A crash occurs in UnityRepaint(); the view is rotated incorrectly and cropped. This does not occur if the 'Set 30 fps' button is pressed before locking the screen.

Note: the crash occurs in main() on Unity versions prior to 5.5.

Reproduced on:
5.6.0b2, 5.5.0p3, 5.4.4f1

Did not reproduce:
5.2.4f1

Devices:
iPhone 7 iOS 10.2 - repro
iPhone 6 iOS 10.0.2 - repro
iPhone 7 iOS 10.0.2 - no repro
iPhone 5S iOS 9.1 - no repro

Comments (8)

  1. 6bdf937a08b1785cf43b8501bad113e1?d=mm

    pushpeshkarki

    Feb 09, 2017 14:12

    Does it happen even when the game is not running at @60 FPS?

  2. 6e4f8edc05c20ca4753aa20860be95cb?d=mm

    Vaidas_Budrys

    Feb 06, 2017 12:14

    This bug will be fixed in 5.5.1p3 patch release.

  3. 1e02a8459d319c8069ebd4bc1b78c88d?d=mm

    Paco-Lafuente

    Jan 25, 2017 18:20

    Still happens in 5.5.1f1 with iPhone 7 iOS 10.2.1.

  4. E432310543888caccba106cbee6aeed9?d=mm

    GuyTidhar

    Jan 25, 2017 08:07

    Is this not fix in Unity 5.5.1?

  5. 8e5945740480d3119c9f21ff54c68ecc?d=mm

    maxrevilo

    Jan 17, 2017 22:15

  6. 871568acd5ea3cf107b34ae10b2d6ef8?d=mm

    adamkapos

    Jan 17, 2017 13:48

    This is a serious bug that happens with 5.5.0p4 and 5.4.4p1

  7. E432310543888caccba106cbee6aeed9?d=mm

    GuyTidhar

    Jan 12, 2017 09:52

    Any news regarding this crash?
    While we did wrap around this bug and at least reduced the reoccurrence of it greatly, we do get some UnityRepaint() crashes which might or might not have to do with this bug.

  8. 8b497723dffd39333f9c205af102f694?d=mm

    Jonu

    Jan 09, 2017 14:18

    Happens also on 5.4.3p3

All about bugs

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