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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.