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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
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.