Search Issue Tracker


Fixed in 2021.3.26f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a11



Found in





Issue ID




Usage Hints Dynamic Color shows incorrect colors when project is in Linear Color Space



How to reproduce:
1. Open the attached user project
2. Open the Scene “scene“ (Assets)
3. Enter Play Mode and select the “Buttons“ Style Sheet in the Assets folder
4. Expand the “Colors“ property
5. Compare the Style Sheet colors and “Example“ button colors (hover your mouse over the “Example“ button to see the color change)

Expected result: Button has same colors as the Style Sheet
Actual result: Button has ligther colors than the Style Sheet

Reproducible with: 2021.3.14f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a20
Can’t test with: 2020.3.42f1 (Missing script references)

Reproduced on: macOS (12.5 Intel)

- Changing the Color Space to Gamma solves the issue
- Issue reproducible in Builds

Comments (1)

  1. EulenMau

    Apr 12, 2023 09:14

    Have the same issue with UI Toolkit in 2022.X.X when I lerp the backgroundcolor of an Element by using uss transitions. Funny is the fact, that also the Text in this Elements has incorrect colors after transition.

    I tested the new Alpha Version of 2023.2.0:
    - Incorrect text color change is now correct
    - backgroundcolor is still incorrect

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.