Search Issue Tracker
By Design
Votes
0
Found in [Package]
2020.2.0a9
2020.2.0a12
2021.1
2021.2
Issue ID
1307762
Regression
No
UI Toolkit's Color field's label is instantly highlighted after opening the Color Picker
How to reproduce:
1. Open the user's attached to project "case_1306190-UIToolkit-PropertyField-RightClick.zip"
2. Select "GameObject" Prefab in the Project window
3. In the Inspector window, find the "Monobehaviour IMGUI (Script)" component
4. Click on "That Struct" > "Color" field and notice that the "Color" property label is not changed
5. Close Color Picker window
6. In the Inspector window, find the "Monobehaviour UI Toolkit (Script)" component
7. Click on "That Struct" > "Color" field
8. Leave the Color Picker window open
9. Observe the "Color" property's label
Expected result: The Color property label is not changed when the Color Picker window is open. UI Toolkit and IMGUI behave the same way
Actual result: The Color property label is highlighted when the Color Picker window is open. UI Toolkit and IMGUI behave differently
Reproducible with: 2020.2.0a12 (built-in UI Toolkit), 2020.2.2f1 (built-in UI Toolkit, UI Toolkit 1.0.0-preview.13), 2021.1.0b6, 2021.2.0a4 (built-in UI Toolkit)
Not reproducible with: 2019.4.20f1, 2020.2.0a11 (built-in UI Toolkit)
Could not test with: 2018.4.31f1 (built-in UI Toolkit) (due to errors), 2019.4.20f1 (UI Toolkit package is not introduced yet), 2020.2.0a11, 2020.2.0a12, 2021.1.0b6, 2021.2.0a4 (UI Toolkit 1.0.0-preview.13) (due to errors)
Notes:
- Up to 2020.2.0a11 version, UI Toolkit's Color property behaves the same as IMGUI's Color property. UI Toolkit's and IMGUI's Color property label is highlighted after opening the Color Picker window
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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Resolution Note:
With additional changes in user project reported issue is fixed.