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
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment