Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1326271
Regression
No
Toggle checkmark image is rendered after re-enabling the Image Component when Is On setting is set to false
How to reproduce:
1. Open the attached project
2. Open AbstractColorFilterToggle prefab
3. Select Checkmark in the Scene Hierarchy
4. Disable and enable the Image component
Expected result: The Checkmark image is not visible
Actual result: The Checkmark image becomes visible after enabling the component
Reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.3.2f1, 2021.1.2f1, 2021.2.0a12
Notes:
1. The issue will fix itself when entering play mode, reloading the scene, or prefab
2. The issue is reproducible when enabling/disabling the Checkmark GameObject
3. The issue is reproducible when the Toggle Is On is set to false in the saved Scene/Prefab
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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
Resolution Note:
We dont have a mechanism to track the enabled state of the child image component. As the system works off changing the alpha of the CanvasRenderer to 0, and calling OnDisable resets the color back to 1, upon enable we dont have a callback to reset the state.
If disabling the image component is something the user needs they would be required to check the state of the toggle.