Unity Issue Tracker - RadioButtonGroup choices list doesn't clear when the script is not in a Hierarchy
Fixed
UUM-40687
RadioButtonGroup choices list doesn't clear when the script is not in a Hierarchy
Unity: UI Toolkit Controls
Open
2022.2.X
2022.2.0a16 onwards
Fixed
2023.3.X
2023.2.X
2023.1.X
2022.3.X
Fixed UUM-40687 @camilo-palma:
UI Toolkit: Fixed RadioButtonGroup choices not being cleared properly.
Fixed UUM-40687 @camilo-palma:
UI Toolkit: Fixed RadioButtonGroup choices not being cleared properly.
Fixed UUM-40687 @camilo-palma:
UI Toolkit: Fixed RadioButtonGroup choices not being cleared properly.
Reproduction steps:
1. Open project “My project (26) 2.zip”
2. Open script “Test.cs”
3. Attach debugger to Unity Editor
4. Add a breakpoint to line 21 of the script
5. Debug “TestSimplePasses()“ (either through code Editor or Unity Editor - open "Window\General\Test Runner\Play Mode" and double-click on "TestSamplePasses")
6. Observe “Test2” output
Expected result: the list is empty
Actual result: the list has elements 1 and 2