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
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
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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "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
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a1