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
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
Add comment