Search Issue Tracker

Fixed

Fixed in 6000.3.0a1

Votes

0

Found in

6000.0.49f1

6000.1.4f1

6000.2.0b2

6000.3.0a1

Issue ID

UUM-105809

Regression

No

Adding "Color" Element in UI Builder breaks Color Picker

-

Steps to reproduce:

  1. Create new Unity project
  2. Create new UI Document in Project window
  3. Open new UI Document in UI Builder
  4. In UI Builder > Library enable "Editor Extension Authoring"
  5. Add Color Element to the Hierarchy
  6. Save changes
  7. Create UIDocument in Hierarchy window
  8. Add newly created UXML file to Inspector > Source Asset
  9. Enter Play mode
  10. In Game view press on white Color Picker value Element
  11. Observe the Color Picker window and Console window

Actual results: Color Picker UI is broken, warnings are thrown in the Console window - Unable to find style 'ColorPickerExposureSwatch' in skin 'GameSkin' <called outside OnGUI>
UnityEngine.UIElements.UIElementsRuntimeUtilityNative:UpdatePanels ()

Expected results: Color Picker window UI is not broken, no warnings are thrown in the Console window

Reproducible with versions: 6000.0.49f1, 6000.1.4f1, 6000.2.0b2

Tested on (OS): Windows 11

Notes:

  • This also breaks Color Picker in other windows, for example select Directional Light in Hierarchy window > in Inspector window find Light component > Filter > open Color Picker

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.