Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0f3
Issue ID
821341
Regression
Yes
Crash occurs when using command buffer and trying to destroy a mesh
Steps to reproduce the issue:
1. Open attached project.
2. Open scene named "CrashScene".
3. Enter the Play mode.
4. Press "Delete Mesh" button in the "Game" window.
Actual result:
The Editor crashes when trying to destroy the mesh.
Expected result:
The Editor should not crash when trying to destroy the mesh.
Reproduced with:
5.4.0b25, 5.4.0f3.
With 5.5.0a5 the Editor freezes, but the crash does not occur.
Cannot reproduce with:
5.1.5f1, 5.2.5f1, 5.3.4p4, 5.3.5f1, 5.3.6p2.
Note:
Open script named "MeshCrash", temporary delete this line of code: "DestroyImmediate(m_Mesh);", save the changes and notice that the issue is no longer reproducible.
If "Clear()" is called prior to "Dispose()", the crash does not happen.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment