Search Issue Tracker
Fixed
Fixed in 6000.0.44f1, 6000.1.0b12, 6000.2.0a8
Votes
1
Found in
6000.1.0b9
Issue ID
UUM-99993
Regression
No
Bindings Variables are not working properly when VisualElement has a name
How to reproduce:
1. Open the “BugLocaleBinding.zip” project
2. Open the “Assets/BUG-1613414/BUG-1613414.uxml“ UXML file in UI Builder
3. Select the “ArmyName“ element
4. Right-click the “Text“ Attribute and select “Add Binding“
5. In the open window, select the “UnityEngine.Localization > Localization String” type
6. Select Entry “army“
7. Create two String Variables
8. Change each variable name to “0“ and “commander“
9. Click “Add Binding” and save the UI Builder
10. Edit the binding by right-clicking the Text attribute and selecting “Edit Binding“
11. Try changing the “commander“ name to anything else and observe the Console
Expected result: The name can be changed with no errors thrown in the Console
Actual result: The name cannot be changed, and a “FormattingException“ error is thrown in the Console while the Edit Binding window is selected
Reproducible in: 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Could not test in: 2022.3.60f1 (no Add Binding button in UI Builder)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Sometimes the errors are thrown whenever the “Text“ attribute in the UXML file is visible
- Editing the names of the variables is almost impossible because the thrown errors are preventing text field editing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Image to Asset - generated content doesn't match input image
- "Branch or commit" dropdown is empty and does not show options when switching to a Repository that does not contain the previously selected branch name
- Sprite preview in Inspector gets more cropped when Padding is increased
- Unity logging warnings about [SerializeReference] when using localization package
- Model import documentation link is incorrect
Add comment