Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.3.X, 2019.4.X

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

  1. LostBoyRadPaisley

    May 20, 2021 19:01

    I am seeing this as a regression in 2019.4.26f1

  2. kashiftasneem

    May 18, 2020 03:34

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

  3. KOG-unity

    Mar 16, 2020 05:52

    Please backport to 2019.2

  4. stopiccot_tds

    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.