Search Issue Tracker
Fixed in 5.4.2
Votes
4
Found in
5.4.0b22
Issue ID
813052
Regression
Yes
CommandBuffer:DrawRender crash if mesh is set to none in RenderingCommandBuffer::~RenderingCommandBuffer
Steps to reproduce:
1. Open attached project "case_813052-MeshFilterCrash.zip"
2. Open "_BlurryRefraction" scene.
3. Select "_RefractiveGlass" in hierarchy.
4. Set Mesh Filter to "none".
5. Enter play mode.
6. Unity crashes.
Reproduced with: 5.4.0b22, 5.4.0b24, 5.4.0b25, 5.5.0a3.
Not reproduced with: 5.2.4f1, 5.3.5f1, 5.3.5p8.
Workaround: insert this code
MeshFilter meshFilter = this.GetComponent<MeshFilter>();
if (meshFilter == null || meshFilter.sharedMesh == null)
return;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment