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
- GameObject cannot be disabled when an Animator references an Animation Clip containing the GameObject's "IsActive" property
- Console errors are thrown when resolving Scene view shortcut conflicts with "Rebind to selected command" checked
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
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