Search Issue Tracker
Fixed in 2021.3.35f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
1
Found in
2021.3.28f1
2022.3.5f1
2023.1.4f1
2023.2.0a23
2023.3.0a4
Issue ID
UUM-44021
Regression
No
[Android] Unable to override Android app screen orientation when the custom main manifest is used
Reproduction steps:
1. Open the attached project “reproProject”
2. Build and Run the Project on Android
3. Lock the screen orientation of the device
4. Rotate the screen and observe the screen orientation behaviour
Expected result: The screen rotates between LandscapeRight and LandscapeLeft
Actual result: The screen orientation does not change
Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1
Testing environment: Intel macOS 13.4.1
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2023.3):
Hello.
We added 'Auto Rotation Behavior(User or Sensor)'.
You will be able to see 'Auto Rotation Behavior' option when Default orientation is set to Auto rotation. (https://docs.unity3d.com/2023.3/Documentation/Manual/class-PlayerSettingsAndroid.html)
So for sensorLandscape, you need to choose 'Sensor' as 'Auto Rotation Behavior' and then mark only 'Landscape Right' and 'Landscape Left' in the 'Allowed Orientations for Auto Rotation' section.