Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.3f1
2021.1
2021.2
Issue ID
1331034
Regression
No
OnDrawGizmos is called from a collapsed script after restarting the Editor
How to reproduce:
1. Open the attached project "case_1331034-GizmoTest.zip"
2. Open SampleScene
3. Click on GameObject in the Scene Hierarchy
4. Expand the GizmoTest script in the Inspector
5. Observe the messages printed to the Console
6. Collapse the GizmoTest script
7. Observe nothing is printed to the Console
8. Close and reopen the project
9. Observe messages printed to the Console
Expected result: No messages are printed to the Console after reopening the Project
Actual result: Messages are printed to the Console despite the GizmoTest script being collapsed
Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a15
Notes:
1. If you expand and collapse the GizmoTest script after restarting the Editor the OnDrawGizmos method will not be called any more
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Darkgaze
Aug 05, 2022 08:24
This bug happening again in 2022. Reported a bug.