Search Issue Tracker
Fixed
Fixed in 6000.0.42f1, 6000.1.0b11, 6000.2.0a7
Votes
2
Found in
6000.0.40f1
6000.1.0b8
6000.2.0a2
Issue ID
UUM-98766
Regression
Yes
Data Source Path does not save binding when adding it in UI Builder window
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/SampleScene.unity” Scene
3. Open the “/Assets/UI Toolkit/Repro.uxml“ in UI Builder
4. Expand child objects of #Test_Template in UI Builder Hierarchy
5. Select #Title visual element
6. Find the "Text" attribute
7. Right-click “Text“ attribute
8. Click Edit Binding or Add Binding
9. In “Data Source Type“ select “title“
10. Repeat step 8
Expected result: “Data Source Path“ has “title“ selected
Actual result: “Data Source Path“ is empty
Reproducible with: 6000.0.38f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a2
Not reproducible with: 6000.0.37f1
Could not test with: 2022.3.59f1 (Element 'UnityEngine.UIElements.DataBinding' has no registered factory method.)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Issue still reproduces after saving, closing or reopening Editor
- Warning message “[UI Toolkit] Could not bind 'Title' because there is no data source. (Test_PanelSettings)“ appears in reproducible and not reproducible with versions
Workaround:
- Open the uxml file in IDE and set the "data-source-path" manually
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment