Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b20
Issue ID
641499
Regression
No
'Toggle is not part of ToggleGroup..' exception is thrown even though toggle is part of the group
To reproduce this bug:
1. Import the attached package
2. Open 'main2' scene
3. In the hierarchy select 'MusicOff' toggle ( OptionsUI->Panel->MusicToggle->MusicOFF)
4. Notice that it is assigned to MusicToggle group
5. Play the scene
6. Press 'Options' which enables Panel with toggles and assigns values to it
7. 'ArgumentException: Toggle MusicOff (UnityEngine.UI.Toggle) is not part of ToggleGroup MusicToggle' exception is thrown even though MusicOff is a part of ToggleGroup
Comments (3)
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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
keni4
May 27, 2017 11:58
Problem exist in 5.6.1p1
GXMark
Oct 29, 2014 14:28
Bug seems to still exist in Beta 21.
To reproduce
1. Deactivate the gameobject which has the ToggleGroup.
2. Reactivate the gameobject and the reference between the toggle children and the toggle group has been lost. you get the same error as above.
RF-Js
Oct 22, 2014 17:54
It seems that when a toggle is disabled, it lose its connection to its togglegroup.