Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.3.0a11

2019.4

2020.3

2021.1

2021.1.12f1

2021.2

2022.1

Issue ID

1346184

Regression

Yes

Game not fully displayed in Player when Windows "Scale and layout" is set to 125% and high DPI is set to "System (Enhanced)"

Windows

-

How to reproduce:
1. Open the attached project "testDpi.zip"
2. Build the project (File>Build Settings...>Build)
3. In the built exe's properties change high DPI settings to "System (Enhanced)" (Properties>Compatibility>Change high DPI settings>High DPI scaling override)
4. In Windows display settings set "Scale and layout" to 125%
5. Launch the built executable

Expected result: Game is fully displayed
Actual result: Only a quarter of the game is displayed

Reproducible with: 2019.3.0a11, 2019.4.29f1, 2020.3.14f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a4
Not reproducible with: 2018.4.36f1, 2019.3.0a10

  1. Resolution Note (2022.1.X):

    System (Enhanced) DPI scaling is only compatible with applications that use GDI to paint their UI. Unity uses Direct3D, and thus this setting breaks Unity. See the GDI/D3D section in the feature description: https://blogs.windows.com/windowsdeveloper/2017/05/19/improving-high-dpi-experience-gdi-based-desktop-apps/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.