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
- Camera prefab shows up in overrides after upgrade when game view is changed to Simulator
- Prefab Override context menu does not appear when changing attributes on a Terrain Component
- Particles are visible through Mesh when Sprite-Lit-Default Material is used
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
Add comment