Search Issue Tracker
Not Reproducible
Fixed in 2019.4.X, 2020.3.X
Votes
1
Found in
2019.4
2019.4.35f1
2020.3
Issue ID
1399856
Regression
No
Setting Screen.orientation to portrait mode does not disable autorotation when starting application in portrait mode
Reproduction steps:
1. Download and open the attached "bug-screen-orientation.zip" project
2. Build and deploy the project to iOS
3. Start the application in Portrait mode
4. Rotate the phone to Landscape mode
Expected result: The application stays in Portrait mode
Actual result: The application rotates to Landscape mode
Reproducible with: 2019.4.35f1, 2020.3.27f1
Not reproducible with: 2021.2.10f1, 2022.1.0b6, 2022.2.0a3
Reproduced with: iPhone 13 Pro (iOS 15.0.0)
Comments (4)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
marcin-walus
Feb 06, 2022 18:11
Same in my project: Unity 2020.3.27f1 and iOS 15.3