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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment