Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.3.48f1
6000.0.21f1
7000.0.0a1
Issue ID
UUM-82852
Regression
No
[iOS] AutoRotation gets enabled when App restarts due to being killed by the OS
How to reproduce:
1. Open the attached Project "OrientationIssue.zip"
2. Build and Run the Project on an iOS device
3. In the Player tap "PLAY"
4. Use the "CreateTextures" button to raise the App's usage to the Memory Limit
5. Use the App Switcher to switch to a different App
6. Use the App Switcher to switch back to the Unity Player
7. When the App crashes, stop the Xcode Debugger
8. When the App restarts, rotate the device
Expected Results: App does not rotate
Actual Results: App rotates to match device orientation
Reproducible with: 2022.3.48f1, 6000.0.21f1
Could not test with: 2021.3.44f1 (Xcode project fails to build)
Reproduced on:
- iPhone 13 Pro (iOS 17.6.1)
- iPhone XS (iOS 17.5.1, user-supplied information)
- iPhone 12 mini (iOS 17.6, user-supplied information)
- iPhone 11 Pro Max (iOS 17.4, user-supplied information)
Did not reproduce on:
- iPhone 6s (iOS 15.8.3, user-supplied information)
Notes:
- The Memory Limit can be tracked in Xcode by observing the Memory Report in the Debug Navigator
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
Reported a bug to Apple.
The issue can be reproduced by using simple Portrait-only Storyboard-based app without using Unity. App has no runtime orientations switching, it is portrait only, still after restart it starts auto-rotating until sent to background and brought back up.