Not signed in
Copyright © 2026 Unity Technologies
Editor: Fix edge case with the Windows Player where an incorrect resolution is used and reported by Screen.width and Screen.height. This occurred when the player was started on a monitor with different DPI settings compared to the main windows monitor.
Editor: Fix edge case with the Windows Player where an incorrect resolution is used and reported by Screen.width and Screen.height. This occurred when the player was started on a monitor with different DPI settings compared to the main windows monitor.
Editor: Fix edge case with the Windows Player where an incorrect resolution is used and reported by Screen.width and Screen.height. This occurred when the player was started on a monitor with different DPI settings compared to the main windows monitor.
Editor: Fix edge case with the Windows Player where an incorrect resolution is used and reported by Screen.width and Screen.height. This occurred when the player was started on a monitor with different DPI settings compared to the main windows monitor.
Editor: Fix edge case with the Windows Player where an incorrect resolution is used and reported by Screen.width and Screen.height. This occurred when the player was started on a monitor with different DPI settings compared to the main windows monitor.
How to reproduce:
1. Make sure that 2 monitors are used
2. Make sure that display 2 has a scaling of more than 100%
3. Open the “OpenCloseApplicationTest“ project
4. Open the “SampleScene“
5. Build And Run project in display 1
6. Move the Player window from display 1 to display 2, then close the Player
7. Run the Player again and observe the resolution text
8. Move the Player window slightly to any direction but not outside of display 2
9. Observe the resolution text
Expected result: the resolution text is the same as in step 7
Actual result: the resolution text is not the same as in step 7
Reproduced with: 2021.3.27f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a21
Reproduced on: Windows 11
Could not test on: macOS Monterey 12.2 (Player is always built to the same display the Editor is located in)
Notes:
1. Not reproducible when scaling of both monitors are set to 100%
2. To change the scaling of display 2 on Windows 11 open Settings > System > Display, select the display, locate the “Scale & layout” section, and change the “Scale” value
3. This issue was also tested on macOS - the reproduction steps are different since Build And Run opens the Player on the screen where the Editor is. Moving the Player window from a scaled display to an unscaled display just changes the resolution of the Player which is expected from the operating system side
Sign in to see your voted issues