Search Issue Tracker
Fixed
Fixed in 2021.3.15f1, 2022.2.1f1, 2023.1.0a20
Votes
0
Found in
2021.3.11f1
2022.2.0b9
2023.1.0a12
Issue ID
UUM-15008
Regression
No
Crash/Freeze when using Handles.DrawGizmos in OnDrawGizmos
Steps to reproduce:
# Add the attached script to any game object
# Uncomment line 18 ({color:#aa5500}Handles.DrawGizmos(Camera.current){color})
# Click on Toggle Visibility of all Gizoms in the scene view in the top right corner.
Expected result: inform the use user with a warning/error message if a method under Handles is not supported in OnDrawGizmos
Actual result: The editor either freezes or crashes
Reproducible with: all relevant versions
Crash: 2021.2.0a15, 2022.2.0b8, 2023.1.0a11
Freeze: 2019.4.20, 2020.3.36f1, 2021.1.0f1, 2021.2.0a14
Note this also reproduces with Handles.DrawOutline
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
- [Android] QosService.Instance.GetSortedMultiplayQosResultsAsync crashes Player when it's built
- [Linux][IL2CPP] Player is not killed when using xkill command
- Decal is not drawn when using Deferred Rendering, a Rendering Layer, and Screen Space Ambient Occlusion
- "unity-radio-button-group__container" element is not referenced when calling RadioButtonGroup.contentContainer
- Unclear documentation about when ScriptableObject.Awake() is called
Resolution Note (fix version 2022.2.1f1):
Verified fixed in 2022.2.1f1_2deb6625894a
Resolution Note (fix version 2021.3.15f1):
Verified fixed in 2021.3.15f1_e8e88683f834