Search Issue Tracker

Fixed in 2020.3.X

Fixed in 2019.4.X, 2021.1.X, 2021.2.X

Votes

0

Found in

2019.4

2020.3

2020.3.11f1

2021.1

2021.2

Issue ID

1342424

Regression

Yes

[iOS] Display.main.systemWidth/Height displays the rendering resolution instead of system resolution

Mobile

-

Reproduction steps:
1. Open the attached project "resolutionTest"
2. Build and Deploy the Scene "SampleScene" to a device
3. Observe the text in the App (rotating the device may be preferable to observe the full values)

Expected result: Display.main.systemWidth/Height displays the system resolution even after SetResolution has been called
Actual result: Display.main.systemWidth/Height displays the rendering resolution

Reproducible with: 2019.4.28f1, 2020.3.13f1, 2021.1.12f1, 2021.2.0b1
Not reproducible with: 2018.4.36f1

Devices tested with:
- iPhone 6 (iOS 12.4.8)
- iPhone 7 (iOS 12.3.1)
- iPhone 12 Mini (iOS 14.1)

  1. Resolution Note (fix version 2020.3):

    Fixed in 2022.1.0a3

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b6

  3. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.19f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.18f1

  5. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.30f1

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.