Unity Issue Tracker - Returned systemWidth and systemHeight are half of the correct values when using Display.main
Fixed
UUM-501
Returned systemWidth and systemHeight are half of the correct values when using Display.main
Unity: MacOS
macOS
Fixed
2023.1.X
2022.2.X
2021.3.X
2020.3.X
Won't Fix
2022.1.X
2019.4.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
2019.4 LTS has reached end-of-life. This port is cancelled.
&How to reproduce:
1. Open the attached project "displayTestNew.zip"
2. Build and Run the scene "SampleScene" on macOS
3. Observe the values under Main Display and Screen.currentResolution
Expected results: The values under Main Display match the ones under Screen.currentResolution
Actual results: The values of Display.main.systemWidth and systemHeight are half of the Screen.currentResolution values