Search Issue Tracker
By Design
Votes
1
Found in
2021.3.6f1
2021.3.10f1
2022.1.17f1
2022.2.0b8
2023.1.0a11
Issue ID
UUM-14964
Regression
Yes
ScreenOrientation.AutoRotation doesn't rotate the landscape when the device is rotated
Reproduction steps:
1. Create a new Unity project
2. Build and Run for Android
3. Rotate the device
Expected result: The landscape is rotated
Actual result: The landscape doesn't change
Reproducible with: 2021.3.6f1, 2021.3.10f1, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Not reproducible with: 2020.3.40f1, 2021.3.5f1
Reproducible with these devices:
Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
Samsung Galaxy Z Flip3 5G (SM-F711B), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Samsung Galaxy S22 (SM-S901B), Android 12, CPU: Exynos 2200, GPU: Ltd.
Not reproducible with these devices:
iPhone 13 Pro (15.6.1)
-
ritro_hype
Mar 10, 2023 14:33
Yes other games allow to rotate from Landscape to Landscape even if rotation is locked.
Example when that can be useful for user (how I play other games all the time) - if you play you game on one landscape and have to plug in charger that is on the other side of the phone it's very convenient to be able to rotate phone and continue playing.
When after upgrading unity (to 2020.3.43f) this feature disappeared from our game we were very disappointed.
-
gabagpereira
Jan 19, 2023 11:49
Usually other games do rotate even when the device's orientation setting is locked (I can confirm that's the case on my phone). That said, there should be an option in Unity to choose if we want to override that setting.
-
JonathanFri
Sep 21, 2022 11:59
Reproducible with 2020.3.37/2020.3.38/2020.3.39 (2020.3.40 is not yet released, cannot test)
NOT reproducible with 2020.3.36Tested with a Samsung S8 Android 9
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
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
- Mistakes in multiple Particle System Components pop-up
Resolution Note:
This was updated by a customer's request.
When the android orientation lock setting of your phone is locked and you cannot rotate the screen.
If your phone's orientation setting is unlocked and you rotate your device, the screen will rotate.