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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment