Search Issue Tracker

Fix In Review for 2021.1

Fix In Review for 2019.4, 2020.3

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

Comments (6)

  1. Dcaccd6a514a75df046f6bea22c73c5c?d=mm

    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

  2. Bb8d89f3e1ac36abe4b87fb594e0f7a0?d=mm

    benzo-turbo

    Mar 03, 2021 13:55

    Same in 2018.4.32f1 after upgrading from 2018.4.26f1

  3. 83fd33e001b6e0516f218185792b9eb3?d=mm

    plan-systems

    Feb 14, 2021 22:24

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

  4. 83fd33e001b6e0516f218185792b9eb3?d=mm

    plan-systems

    Feb 14, 2021 22:23

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

  5. 05b25e4b075139c9c0602f9a41f89245?d=mm

    greg-harding

    Feb 10, 2021 02:58

    Also broken in 2020.1.16f1.

  6. 589d109df72e42141a71ac9e9a92d2e5?d=mm

    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.