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
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
-
unity_446AA1ED9651134F520C
Mar 19, 2021 09:05
Same in 2020.3
-
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
-
benzo-turbo
Mar 03, 2021 13:55
Same in 2018.4.32f1 after upgrading from 2018.4.26f1
-
plan-systems
Feb 14, 2021 22:24
This is NOT fixed for iPadPro Gen 4 on 2020.1 or 2020.2.
-
plan-systems
Feb 14, 2021 22:23
Unity, please please address this. This is something clearly fixable very easily.
-
greg-harding
Feb 10, 2021 02:58
Also broken in 2020.1.16f1.
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b12
Resolution Note (fix version 2020.3):
Fixed in 2020.3.1f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.23f1