Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.3.X

Votes

0

Found in

Issue ID

1300359

Regression

Yes

Screen.dpi returns 0 on iPad Pro for projects built from 2019.4.16f1

Mobile

-

How to reproduce:
1. Build & Run the attached project
2. See that the value shown in UI text in the middle of the screen is incorrect

Expected result: UI text says "SCREEN DPI: 264"
Actual result: UI text says "SCREEN DPI: 0"

Reproduces on: 2019.4.16f1
Doesn't reproduce on: 2019.4.14f1

Device under test:
iPad Pro (2nd gen), iOS: 14.3

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b12

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.1f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.23f1

Comments (7)

  1. unity_446AA1ED9651134F520C

    Mar 19, 2021 09:05

    Same in 2020.3

  2. moos_unity

    Mar 04, 2021 09:21

    This is also still appearing in build 2019.4.21.f1 on a 12.9 inch iPad Pro (4th generation) - iOS version 14.4 model MY2J2KN/A

  3. benzo-turbo

    Mar 03, 2021 13:55

    Same in 2018.4.32f1 after upgrading from 2018.4.26f1

  4. plan-systems

    Feb 14, 2021 22:24

    This is NOT fixed for iPadPro Gen 4 on 2020.1 or 2020.2.

  5. plan-systems

    Feb 14, 2021 22:23

    Unity, please please address this. This is something clearly fixable very easily.

  6. greg-harding

    Feb 10, 2021 02:58

    Also broken in 2020.1.16f1.

  7. zauberzaubar

    Jan 26, 2021 11:52

    Also reproduces in 2019.4.15f for me (I think that's the version that introduced the bug)

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.