Unity Issue Tracker - Adding "Color" Element in UI Builder breaks Color Picker
Fixed
UUM-105809
Adding "Color" Element in UI Builder breaks Color Picker
Unity: UI Toolkit Authoring Framework
Fixed
6.3.X
Won't Fix
6.2.X
6.1.X
6.0.X
Too large a change and high risk
Too large a change and high risk
Too large a change and high risk
Steps to reproduce:
Create new Unity project
Create new UI Document in Project window
Open new UI Document in UI Builder
In UI Builder > Library enable "Editor Extension Authoring"
Add Color Element to the Hierarchy
Save changes
Create UIDocument in Hierarchy window
Add newly created UXML file to Inspector > Source Asset
Enter Play mode
In Game view press on white Color Picker value Element
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
Prioritise and Follow this issue
Have a workaround or additional info about this issue?