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
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
- Image is distorted when VisualElement is scaled and Scale Mode set to scale-and-crop
- Euler angles return different values during Animation Event when using Playables API and the time is 0
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/