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)"
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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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/