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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
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).