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