Search Issue Tracker
Fixed in 2020.3.46f1
Fixed in 2020.3.X, 2021.3.X, 2022.2.X, 2022.2.0b11, 2023.1.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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment