Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4

2019.4.14f1

2020.3

2021.1

2021.2

Issue ID

1319750

Regression

No

Image.color is not reflected visually when changing it during Runtime

uGUI

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Select any of the Buttons
4. In the inspector, view the Image Components color by opening the color picker
5. Inspect the values logged in the Console as well

Expected result: Image color represents the stored color values
Actual result: Image is displayed as White instead of the set color

Reproducible with: 2019.4.22f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8
Couldn't test with 2018.4.32f1 (User's project breaks)

  1. Resolution Note (2021.2.X):

    User is trying to assign a Color with Color32 values

    https://docs.unity3d.com/ScriptReference/Color.html

    Color should be 0-1 range not 0-255. By specifying values over 1 the color picked will be pure white in all instances.

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.