Search Issue Tracker

Fixed

Fixed in 2021.3.35f1, 2022.3.17f1, 2023.2.5f1, 2023.3.0a13, 2024.1.0a1

Votes

1

Found in

2021.3.28f1

2022.3.5f1

2023.1.4f1

2023.2.0a23

2023.3.0a4

2024.1.0a1

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

  1. Resolution Note (fix version 2023.3.0a13):

    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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.