Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.2, 2019.3

Votes

3

Found in

2018.4.7f1

2019.2

2019.3

2019.3.0a8

2020.1

Issue ID

1169739

Regression

Yes

[Android] After setting the resolution it doesn't flip when changing the orientation of the device

Mobile

-

Repro steps:
1. Open QA attached project "repro_1169739"
2. Build and run on Android
3. Physically rotate the phone, autorotation is on so orientation should change and everything should look fine
4. Set orientation to Portrait, use the dropdown in the top left corner of the screen
5. Click Set Resolution button, which just assigns the current values and nothing should happen
6. Set orientation to Landscape

Expected: Resolution width and height should be flipped thus getting a correct resolution when changing orientations

Actual: Resolution will stay exactly the same after switching orientation and will be extra stretched in Landscape orientation

Reproducible with: 2018.4.8f1, 2019.2.5f1, 2019.3.0b3, 2020.1.0a4
Not reproducible with: 2017.4.32f1, 2018.4.6f1

Tested and reproduced on these devices:
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00136, Samsung Galaxy S9+ (SM-G965F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00123, Google Pixel 2 XL (Pixel 2 XL), Android 10, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
VLNQA00078, Motorola Nexus 6 (Nexus 6), Android 7.1.1, CPU: Snapdragon 805 APQ8084AB, GPU: Adreno (TM) 420

Didn't reproduce on:
iPhone 8 Plus (iOS 11.0)

Comments (2)

  1. E0cf0b152fde1ca8f07f64b75dc494dc?d=mm

    VoxelMatt

    Oct 02, 2019 22:56

    Confirmed reproduces in 2018.4.10f for android
    Empty project with an image. Call SetResolution. Rotate Phone. Rotation Broken. :)

  2. E0cf0b152fde1ca8f07f64b75dc494dc?d=mm

    VoxelMatt

    Sep 18, 2019 23:35

    Hi Unity - I just wanted to add that I can't actually reproduce this in 2018.4.7f1 - it only started happening in 2018.4.8 (and now 2018.4.9) for us.

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.