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
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
- "Custom Render Queue" field cannot be set above "2000" when changing it in the Inspector window using Debug mode
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