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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “InvalidOperationException: System.InvalidOperationException” and “Assertion failed on expression” errors are logged when starting Server in Play mode
- [iOS] App freezes and the "You can attach a managed debugger now if you want” message doesn’t show up when running the app on iOS devices with the "Wait For Managed Debugger" setting enabled
- TouchScreenKeyboard.hideInput set from "true" to "false" when TextField is clicked in Android builds
- [Android] ReadPixels gives different results when using Vulkan on some devices
- [URP] Exceeding the platform's supported light limit gives shadow distortion when using Deferred Rendering Path
Add comment