Search Issue Tracker

Active

Fixed in 2022.2.0b11, 2023.1.0a10

Under Consideration for 2020.3.X, 2021.3.X, 2022.1.X

Unknown (hidden) 2019.4.X

Votes

1

Found in

2019.4.39f1

2020.3.34f1

2021.3.2f1

2022.1.1f1

2022.2.0a13

Issue ID

UUM-501

Regression

No

[macOS] Returned systemWidth and systemHeight are half of the correct values when using Display.main

--

-

 &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

Reproducible with: 2019.4.39f1, 2020.3.34f1, 2021.3.2f1, 2022.1.1f1, 2022.2.0a13

Notes:
- Moving the Build window to an external monitor updates the values to the correct ones even after returning the window to the main one

  1. Resolution Note (2019.4.X):

    2019.4 LTS has reached end-of-life. This port is cancelled.

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.