Search Issue Tracker
By Design
By Design in 6000.6.X
Votes
0
Found in
6000.0.68f1
6000.2.8f1
6000.3.0b6
6000.4.0a2
6000.5.0a1
6000.6.0a1
Issue ID
UUM-122021
Regression
No
“-“ symbol gets removed from :root Variable name in UI Builder
Reproduction steps:
1. Create a new project
2. Create UI Document (Create > UI Toolkit > UI Document)
3. Double-click newly created Asset to open UI Builder window
4. Click “+” button in the Stylesheets section and select “Create New USS”
5. Click on :root Selector
6. Add a new Variable in the Inspector (Styles > Variables)
7. Change Variable name to “-“, press enter and observe
Actual result: Variable name becomes empty
Expected result: “-“ is displayed as Variable name
Reproducible with: 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Couldn’t reproduce with: 2021.3.57f1, 2022.3.67f1, 6000.0.60f1 (No :root Selector)
Reproduced on: Ubuntu 24.04, macOS Sequoia 15.4 (M4)
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
- HDRP Light shadows switch Type from Soft to Hard after re-enabling the Shadow Map option
- [AI Assistant] Banner content is clipped and inaccessible when Assistant window is docked or narrow
- Crash on CheckDeviceStatus when opening a UI Panel in Play mode on a specific project
- Redundant Warning message is thrown when multi selecting Package Manifest files in the Project Window
- Point light Cookie texture is rendered incorrectly with Deferred renderer path when used together with multiple Directional lights
Resolution Note:
Thank you for reporting a bug to Unity.
'-' is not a valid variable name.
After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.
We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.
Resolution Note (6000.6.X):
Thank you for reporting a bug to Unity.
'-' is not a valid variable name.
After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.
We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.