Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.5.4
Issue ID
LOC-1208
Regression
No
DropdownField value changes along with the Label string when switching Active Locale
Reproduction steps:
1. Open the attached “IN-97881.zip” project
2. Go to Window > UI Toolkit > BugValueChanged
3. Go to Window > Asset Management > Localization Scene Controls
4. In the Localization Scene Controls window, switch the Active Locale between English and French
5. Observe the Console and the previously opened BugValueChanged window
Expected results: “Column 1” dropdown has a number value selected (1920 or 1600) in the BugValueChanged window, and “Value has changed: 1920, if it's not a number, that is a bug.” log is visible in the Console
Actual results: “Column 1” dropdown has a string value selected (“Column 1”) in the BugValueChanged window, and “Value has changed: Column 1, if it's not a number, that is a bug.” log is visible in the Console
Reproducible with: 1.5.0-pre.1, 1.5.4 (6000.0.44f1, 6000.1.0b12, 6000.2.0a7)
Couldn’t test with: 1.4.5 (2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7), 1.5.4 (2022.3.60f1) (The Localization binding did not work for testing)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
- Rigidbody2D.Slide correctly ignores colliders specified with "Physics2D.IgnoreCollision" however encountering them can still modify movement behaviour in subtle ways.
- [Quality Hackweek] A black separator appears when the left panel in the UI Builder tab is resized, and the tab is narrow
- Animator states quickly jump during the Blackboard navigation when the playing state is moved outside the view
- "New" Label overlaps long Asset names in Import Unity Package Window
Resolution Note:
The example script was responding to ChangeEvent<string> sent from the label, causing it to assign the value to the dropdownfield. Change events should be filtered using the target.