Search Issue Tracker

Active

Fixed in 2018.4, 2019.2

Votes

4

Found in

2018.3.0a1

2019.1.0a1

2019.1.9f1

2019.2.0a1

2019.3.0a1

Issue ID

1168191

Regression

Yes

GUI.DrawTexture() is too bright/washed out when "Color Space" is set to "Linear Mode"

IMGUI

-

How to reproduce:
1. Open attached project "Test.zip" and scene "SampleScene"
2. Make sure that "Edit" -> "Project Settings" -> "Player" -> "Color Space" is set to "Linear"
3. Enter Play mode
4. In Game view, observe the Texture colors
5. Compare the results with other Unity versions

Expected result: all Unity versions have a texture with the same colors
Actual result: 2017.4 texture's colors are too intense, 2018.1/2018.2 texture's colors seem normal, in 2018.3 texture's colors are washed out / too bright

Reproducible with: 2017.4.30f1, 2018.3.0a1, 2018.4.4f1, 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Not reproducible with: 2018.1.0a1, 2018.2.21f1

Comments (5)

  1. E7ed5c0030e747ffe410331bc9a59f16?d=mm

    guy_

    Nov 20, 2019 04:23

    Bug found in 2019.1.14f1 as well, switching from linear to gamma color space in Player settings fixes the texture colors, but it's not really a viable solution.

  2. 6fb4d2637ba838becc92cc9bead52f96?d=mm

    manutoo

    Jul 18, 2019 14:55

    The issue has just been marked "By Design" ; if it was really by "design", then the result shouldn't differ in the Editor and in the Build, nor from 1 unity version to the other... >_<

  3. 104e7a27c612efac575ba55db7ae50cf?d=mm

    daisySa

    Jul 10, 2019 07:55

    Bug also found in 2018.4.2f1.

  4. 6fb4d2637ba838becc92cc9bead52f96?d=mm

    manutoo

    Jul 09, 2019 15:40

    1 more thing : in the Editor, the font color is also washed out and in build, the font color looks ok

  5. 6fb4d2637ba838becc92cc9bead52f96?d=mm

    manutoo

    Jul 09, 2019 15:38

    I reported this bug initially.

    I just noticed 2 things :
    - in build, GUI.DrawTexture() produces the correct colors
    - in the Editor, Graphics.DrawTexture() looks correct, but in Build it gets too dark

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.