Search Issue Tracker

Fixed in 2022.1.X

Votes

6

Found in

2020.1.0a8

2020.3

2020.3.3f1

2021.1

2021.2

Issue ID

1338174

Regression

Yes

[Android] Screen.orientation switches to portrait when switching to autorotate while holding device in portrait orientation

Android

-

Screen.orientation switches to portrait when switching to autorotate while holding the device in portrait orientation even when Portrait and PortraitUpsideDown are set to false

Steps to reproduce:
1. Open the attached project "1338174.zip"
2. Connect Android device
3. Build and run the "LandscapeOnlyScene" Scene
4. Hold the device in portrait position and observe scene rotation

Expected results: scene switches to landscape mode after 2 seconds and stays there
Actual result: scene switches to landscape mode after 2 seconds and back to portrait after 2 more seconds

Reproducible with: 2020.1.0a8, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
Did not reproduce with: 2018.4.36f1, 2019.4.28f1, 2020.1.0a7

Reproducible devices:
VLNQA00335, Samsung Galaxy S20 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00317, Vivo V1924A (V1924A), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00294, Oppo Reno Z 中国版 (PCDM10), Android 9, CPU: Mediatek MT6779 Helio P90, GPU: PowerVR Rogue GM9446
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00286, Meizu - (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760

Not reproducible on:
N/A, Samsung Galaxy S10 (SM-G975F), Android 10, CPU: Exynos 9820 (ARMv8), GPU: Mali-G76
N/A, Samsung Galaxy S9 (SM-G960F), Android 8, CPU: Exynos 9810 (ARMv8-A), GPU: Mali-G72
N/A, BlackShark 3 (KLE-H0), Android 10, CPU: Qualcomm Klein (ARM64-v8), GPU: Andreno 650

  1. Resolution Note (fix version 2022.1):

    Fixed in Unity 2022.1.0a1

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.