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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment