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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Darkgaze
Aug 05, 2022 08:24
This bug happening again in 2022. Reported a bug.