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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Add comment