Search Issue Tracker
Third Party Issue
Votes
1
Found in
2018.4
2019.4
2019.4.17f1
2020.2
2021.1
2021.2
Issue ID
1301925
Regression
No
Screen.currentResolution returns incorrect information on certain Macs
Reproduction steps:
1. Open the attached project "Resolution"
2. Make sure "Default Is Native Resolution" is enabled in Edit > Project Settings > Player
3. Open scene "SampleScene"
4. Enter Play Mode
5. Observe the error in the Console window
Expected result: Logged resolution matches the native resolution of the machine used for testing (shows 2560x1600)
Actual result: Logged resolution doesn't match the real native resolution (shows 2880x1800)
Reproducible with: 2018.4.31f1, 2019.4.20f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a4
Reproduced with:
MacBook Air (Retina, 13-inch, 2019), 2560x1600 display, macOS 10.15.7
Not reproducible with:
iMac (Retina 5K, 27-inch, 2017), 5120x2880 display, macOS 10.15.7
Note:
- Issue is reproducible within the editor and in a build
- With 2018.4, in the editor, the dimensions of the Game window would be logged instead of the native resolution.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (2021.2.X):
We are using the resolution that macOS screen resolution APIs tell us to use, and there's no way to get the real screen resolution at this point until Apple updates the APIs. We suggest enabling resolution selection in the game settings menu so that the gamer could choose a lower resolution if the game doesn't run well enough at the resolution that macOS reports.