Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
1
Found in
2018.4.26f1
Issue ID
1266961
Regression
No
[iOS] Storyboard shows in landscape orientation for a second even though Auto Rotation only allows portrait orientations
Steps to reproduce:
1. Open attached project (test-portrait.zip)
2. Switch to iOS
3. Make sure that 'Orientation' is set to 'Auto Rotation' with only 'Portrait' and 'Portrait Upside Down' as allowed orientations (in Player Settings/Resolution and Presentation)
4. Build the project
5. Run on iOS device while holding it in Landscape orientation
Expected result: Storyboard should be displayed in Portrait or Portrait Upside Down as those are the only allowed orientations
Actual result: Storyboard starts in 'Portrait' mode but rotates to landscape after a while, sometimes keeping even the game view in landscape orientation until the device is rotated to Portrait.
Reproduces with built in launch screen storyboards and custom storyboards.
Reproduced with: 2018.4.26f1, 2019.4.5f1, 2020.2.0a20
Workaround for iOS versions 12 and older: comment out the custom application:supportedInterfaceOrientationsForWindow implementation in UnityAppController.mm file.
Tested and reproduced on:
iPhone 8, iOS 11.0.1
iPhone 6, iOS 12.2
iPad Pro, iOS 12.0
iPhone SE (2nd gen), iOS 13.4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment