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
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
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).