Search Issue Tracker
Fixed in 2017.1.X
Votes
4
Found in
5.5.0p3
Issue ID
870209
Regression
No
Screen.dpi returns primary displays dpi when application is on secondary display
Steps to reproduce:
1. Prepare a two monitor setup each with different DPI
2. Open attached project "870209.zip"
3. Build standalone
4. Launch standalone in windowed mode on your Primary display and observe screen dpi
5. Move application to secondary display and observe screen dpi
Result: screen dpi didn't change
6. Close application
7. Launch standalone in windowed mode on your Secondary display and observe screen dpi
Result: Screen.dpi returns Primary screen dpi
Expected result: Screen.dpi returns current displays dpi
Tested on Windows machine (primary screen full HD, secondary - 4k)
Reproducible with: 5.3.6f1, 5.4.4p1, 5.5.0p4, 5.6.0b4
Also reproducible in Editor, Windows standalone, WSA
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Add comment