Search Issue Tracker
Fixed in 2021.3.15f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note (fix version 2022.2):
Verified fixed in 2022.2.1f1_2deb6625894a
Resolution Note (fix version 2021.3):
Verified fixed in 2021.3.15f1_e8e88683f834