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
- 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