Search Issue Tracker

By Design

Votes

2

Found in

2018.2.0b7

2018.3.0f2

Issue ID

1163415

Regression

No

Windows High DPI scaling breaks Graphics.DrawTexture

Graphics - General

-

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

  1. 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.

Comments (1)

  1. Tj_W

    Oct 16, 2019 06:35

    This issue is not letting people work on Unity. Why are you not fixing it?
    Please please help

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.