Search Issue Tracker

Active

Votes

0

Found in

6000.0.63f1

6000.2.14f1

6000.3.0f1

6000.4.0a5

6000.5.0a2

Issue ID

UUM-129101

Regression

No

Color is incorrectly applied to objects when initialized with non-normalized parameters

-

How to reproduce:
1. Open the attached project "IN-125666"
2. Open "SampleScene"
3. Enter Play Mode
4. Select "UI" GameObject in the Hierarchy
5. In the Inspector, press "Test Stars" button
6. In the UI Toolkit Debugger window, select the first VisualElement under the "#starRating" VisualElement
7. Observe the shown color for "-unity-background-image-tint-color" in the UI Toolkit Debugger
8. Click on the shown "-unity-background-image-tint-color" color
9. Observe the color wheel

Actual result: Color is set to white but shows up as purple in the color wheel
Expected result: Color is set to purple

Reproducible with: 2022.1.0a1, 6000.0.63f1, 6000.2.14f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Workaround: Initializing new color using normalized parameters

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.