Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
Issue ID
1359230
Regression
No
UIBuilder: Color variables set to color names are not recognized as colors by the auto-complete
Color enum values are not recognized as color by the Variable Completer popup
1 - Create new document in the builder
2 - Add a stylesheet containing
:root {
--my-own-color: blue;
}
.my-style {
height: 100px;
}
3 - Select .my-style selector
4 - In the Inspector, right-click on the label of the Background/Color field and select "Set to Variable"
5- Type "--my-own-color" in the Variable Search field
Expected:
When typing "--", the auto-complete list will display the --my-own-color variable
Actual:
The auto-complete list does not contain the --my-own-color variable
Jira Issue: https://jira.unity3d.com/browse/UIT-1311
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Vulkan] Release memory after deleting image
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Crash on internalABP::BoxManager::prepareData when entering Play Mode
- Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player
Add comment