Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X
Votes
0
Found in
2021.2
2021.2.11f1
2022.1
2022.2
Issue ID
1404273
Regression
No
Crash when calling Graphics.RenderMesh for a Mesh that was destroyed
Reproduction steps:
1. Open the attached project "Test_script"
2. Open "Assets/Scene/Sample Scene" scene
3. Disable "GameObject" from the Hierarchy
Expected result: Error is thrown that Mesh can't be found
Actual result: Editor crashes
Reproducible with: 2021.2.11f1, 2022.1.0b7, 2022.2.0a5
Could not test with: 2019.4.36f1, 2020.3.28f1 (Graphics.RenderMesh not found)
First lines of stacktrace:
0x00007ff6316fd598 (Unity) delete_object_internal_step1
0x00007ff6316f9d10 (Unity) DestroySingleObject
0x00007ff631a16fcd (Unity) DestroyObjectHighLevel_Internal
0x00007ff631a16b64 (Unity) DestroyObjectHighLevel
0x00007ff631d61ccf (Unity) Scripting::DestroyObjectFromScriptingImmediate
0x00007ff630f78803 (Unity) Object_CUSTOM_DestroyImmediate
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
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
- Mistakes in multiple Particle System Components pop-up
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a12
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1