Search Issue Tracker
By Design
Votes
0
Found in
2020.3.44f1
2021.3.16f1
2022.1.24f1
2022.2.2f1
2023.1.0a24
Issue ID
UUM-21942
Regression
No
UI Toggle group losing its state when clicking elsewhere
How to reproduce:
- Open the user attached “Repro_2020.3.38f1-1380641.zip“ project
- Enter Play Mode
- Click between the different Toggle buttons
- Click on the Button named “Button“
Expected result: When the toggle button “is ON” property is set to true the color stays green
Actual result: The toggle button color is grey even though the “is ON” property is set to true
Reproducible with: 2020.3.44f1, 2021.3.16f1, 2022.1.24f1, 2022.2.2f1, 2023.1.0a24
Reproducible on: Windows 10 (Intel)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
Closing this as designed.
We are aware of this design flaw that is specially present with the combination of the ToggleGroup component's state and the Selectable's state. As is, current they do not share the same states which is why they doesn't drive one another. Unfortunately, updating this behavior would cause a lot of regressions on existing projects. While it's not the desired response you may be expecting, a workaround would be a good way to achieve your desired outcome. One example would be to create a function that finds the active item from the ToggleGroup and assign the active item's target graphic color to the toggle's selected color and reset back to normal those that aren't.