Search Issue Tracker
By Design
Votes
0
Found in
5.3.0f4
Issue ID
754868
Regression
No
Coroutine called after object is disabled
To reproduce:
1. Open attached project
2. Play DestroyTest scene
3. Select Global object
4. Enable the bool field on Destroy Test script
5. Check output in console:
Update: Destroy
OnDisable()
DummyCR: Loop
OnDestroy()
Expected result: DummyCR: Loop should not be printed after OnDisable is called.
Reproducible: 4.7.0f1, 5.3.3p3, 5.4.0b9
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- [ShaderGraph] Shader error in 'Shader Graphs/Screen_Graph': 'SHADERGRAPH_BAKED_GI' in URP Sample
- An added component is being removed form the prefab when reimporting the prefab
Add comment