Search Issue Tracker
Windows High DPI scaling breaks Graphics.DrawTexture
How to reproduce:
1. Make sure Windows DPI is not 100% or 200% (either 125%, 150%, 175%, 225%)
2. Open attached project "DPIScaling.zip" and scene "SampleScene"
3. Enter Play mode
4. Observe Game view
Expected result: the gradient fills the whole Game View
Actual result: the gradient does not fill the whole Game View
Reproducible with: 2018.2.0b7, 2018.2.21f1, 2018.3.14f1, 2018.4.3f1, 2019.1.8f1, 2019.2.0b6, 2019.3.0a6
Not reproducible with: 2017.4.29f1, 2018.1.9f2, 2018.2.0b6
Oct 16, 2019 06:35
This issue is not letting people work on Unity. Why are you not fixing it?
Please please help
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- The terrain appears darker when "Per-pixel Normal" is enabled
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
Resolution Note (2020.2.X):
The GameView is always in raw pixels and bypasses screen dpi. To create full screen textures multiply Screen.height /width * dpi.