Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b5
Issue ID
996390
Regression
No
Screen.currentResolution returns the biggest possible resolution instead of the current one on Retina MacBooks
Steps to reproduce:
1. Create a new project
2. Add a gameobject, add a script to it
3. Under start(), add "Debug.Log(Screen.currentResolution);"
4. Enter play mode
5. Observe the console
Expected results: 2880 x 1800 @ 60Hz
Actual results: 3360 x 2100 @ 60Hz
Reproduced on: 2017.2.1p2, 2017.3.0f2, 2018.1.0b6
Note: also reproduced on 2017.1.3p1, however it shows the scaled resolution instead, 1440x900, 1680x1050, 1920x1200 etc.
Comments (1)
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
- Window preview appears on a different monitor when undocking and dragging a window with a high-resolution monitor set up on the right and a low-resolution monitor on the left.
- Probe Volume Baking Set Reference Documentation is missing
- Crash on RendererScene::NotifyInvisible when entering Play mode after undoing a change within the scene with Ctrl+z
- [iOS] Final Image misaligned when using "ScalableBufferManager.ResizeBuffers" to resize
- GameObjects are not updating when Materials and Cubemaps are updated from Environmental Reflections
MilkTicc
Aug 03, 2018 08:00
Ran into the same problem on 5K iMac, Unity 2018.1.9f1.