Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4
2018.4
2019.1
2019.2
2019.3
2019.3.0a8
Issue ID
1169727
Regression
No
[Android] Device doesn't rotate immediately accordingly to its holding position after autorotation is enabled
Repro steps:
1. Open QA attached project "repro_1169727"
2. Build and Run on Android
3. Press the Portrait button which sets the screen orientation to Portrait
4. Hold the phone sideways
5. Now press the Autorotate button which sets the screen orientation to AutoRotation
Expected: Orientation immediately changes to Landscape since we are holding the phone sideways
Actual: Orientation will be Portrait until we shake the phone back and forth
Reproducible with: 2017.4.30f1, 2018.4.4f1, 2019.1.12f1, 2019.2.0b10, 2019.3.0a10
Tested and reproduced on these devices:
VLNQA00230, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00006, Samsung Galaxy S7 (SM-G930F), Android 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00125, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00052, Xiaomi MI MAX (MI MAX), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
Didn't reproduce on:
iPhone 7 Plus (iOS 12.0)
Notes:
- The position the device is in doesn't have influence to the behavior before enabling autorotation
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
- Scene Filter buttons reset to "All" in the Occlusion Window when entering Play Mode but the Scene Filters themselves do not reset
- Transition property is not disabled in the UI Builder when it is set by a variable
- Crash on PersistentManager::GetSerializedType when opening a specific Scene
- GlobalObjectId.GetGlobalObjectIdSlow returns empty ID when in Prefab Isolation Mode
- Crash on Transform::RemoveFromParent when deleting a child GameObject
Resolution Note (fix version 2020.1):
PR https://ono.unity3d.com/unity/unity/pull-request/91724/_/platform/android/autoRotationFix
Landed 2020.1.0a2