Search Issue Tracker
Fixed
Fixed in 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Votes
0
Found in
2022.2.2f1
2023.1.0a25
2023.2.0a1
Issue ID
UUM-22563
Regression
Yes
UIToolkit image is not repainted when making style changes to tint color
Reproduction steps:
# Open the attached “uitoolkitbug.zip“ project
# Open the “Assets/Scenes/SampleScene.unity” Scene
# Enter the Play Mode
# Hover over the Game View
# Observe the color of the image
Expected result: The image in the Game View turns red
Actual result: The image in the Game View stays white
Reproducible with: 2022.2.0a15 2022.2.2f1, 2023.1.0a25
Not reproducible with: 2021.3.16f1, 2022.1.24f1, 2022.2.0a14
Couldn’t test with: 2020.3.44f1 (UIDocument Asset is not implemented)
Reproducible on: Windows 10 (21H2)
Note: Adding something meaningless such as “bottom: 20px” to the Test.uss Asset next to “.test1:hover .test2” fixes the issue by forcing a repaint on hover
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2022.2.10f1):
Fixed UUM-22563:
UI Toolkit: Fixed an issue where the tint of an Image element would not trigger a repaint.