Search Issue Tracker

Fixed

Fixed in 2020.3.46f1, 2021.3.20f1, 2022.2.0b11, 2023.1.0a10

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

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.