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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment