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][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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