Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1327827
Regression
No
[UI Builder] Variable is enabled/disabled when clicking only on its name in the UI Builder's Inspector
How to reproduce:
1. Open the attached "1327827_Repro" project
2. In the Project window double click on "NewUXMLTemplate" Asset
3. In the UI Builder window's Hierarchy select "VisualElement"
4. In the UI Builder window's Inspector press on the "Focusable" variable's name (not the checkmark)
Expected results: The value gets selected but not enabled
Actual results: The value gets enabled
Reproducible with: 1.0.0-preview.14 (2019.4.24f1, 2020.3.4f1, 2021.1.3f1, 2021.2.0a13)
Could not test with: 2018.4.33f1 because UI Builder was not yet available
Note:
- In the Editor's Inspector clicking on the variables name will not enable it (can be tested with Directional Light's "Draw Halo" variable)
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
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
- TextShadow properties are not applied when displayed in a custom MenuItem Window
Resolution Note:
The description of the behavior is not Builder-specific, but rather UI Toolkit-specific. The Toggle works the way it works in UI Toolkit because it was coded like with that intent. We decided a while ago to make it behave differently in the UI Toolkit version than in the IMGUI version, among other things for usability reasons. This behavior aligns better with the other use cases (runtime toggles, foldout, non-field toggle).