Search Issue Tracker
By Design
Votes
2
Found in
5.4.0f3
Issue ID
826346
Regression
No
MonoBehavior "Enabled" value is not reset when the checkbox becomes hidden
Reproduction steps:
1. Open the project
2. Open the only scene
3. Select "Enebaledbox" gameobejct and open the "EnabledBox" script attached to it.
4. Comment out Start() method so the checkbox becomes hidden
5. Play the scene.
6. Notice in the console that isActiveAndEnabled returns the value of "Enabled" checkbox.
7. Uncomment Start() method and change the value of "Enabled" checkbox on "EnabledBox" gameobject
8. Repeat steps from 4 to 6
Actual result: Values from both 6 and 8 steps are different.
Expected result: the Enabled state is reset.
Reproduction steps: 5.5.0b1, 5.4.0p3, 5.3.6p3, 5.3.5p8, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment