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
Comments (1)
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Darkgaze
Aug 05, 2022 08:24
This bug happening again in 2022. Reported a bug.