Search Issue Tracker

Active

Fixed in 2018.4, 2019.3

Planned for 2017.4

Fix In Review for 2019.4

Votes

4

Found in

2017.4

2018.4

2018.4.5f1

2019.2

2019.3

2020.1

Issue ID

1190428

Regression

No

[iOS] Storyboard shows in a landscape mode for a second even though Device Orientation in Xcode is set to portrait

iOS

-

To reproduce:
1. Open attached project "1190428.zip"
2. Build for iOS
3. Open the Xcode project and make sure that Device Orientation is set to Portrait
4. Hold the device in landscape mode and deploy the app to the device

Expected: the storyboard stays in portrait mode
Actual: the storyboard goes to landscape and only half of the screen is visible for a moment

Reproduced on:
2017.4.23f1, 2018.4.23f1 2019.2.9f1, 2019.3.15f1, 2020.1.0b12, 2020.2.0a14

Device reproduced on:
iPhone 8 Plus iOS 21.0

Notes:
- Crashes on 2017.4.0f1 - 2017.4.11f1, can't test the issue
- Commenting out lines 159-177 in UnityAppController.mm file works around the issue

Comments (4)

  1. 7a8c4fd6d62d9e22199908cfb0b0e0d4?d=mm

    kashiftasneem

    May 18, 2020 03:34

    My game is in landscape but switches to portrait for a second in Unity 2018.4.22 LTS.

  2. 2557f5fd93ecd639981c6ad3af8f55f8?d=mm

    KOG-unity

    Mar 16, 2020 05:52

    Please backport to 2019.2

  3. Dc081face157ddc40b7e30ea66a4bfe8?d=mm

    stopiccot_onthespot

    Feb 07, 2020 12:28

    Please backport to 2018.4 and 2019.3

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.