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
- 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