Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2019.4.31f1
2020.3
2021.2
2022.1
Issue ID
1387705
Regression
No
Crash on MeshUtility_CUSTOM_SetMeshCompression when MeshCompression is set to null or destroyed
Reproduction steps:
1. Open the attached project 'MissingMeshCompressionCrash'
2. Open the 'SampleScene'
3. In the Scene window click on the 'Create mesh and set compression on null' button
4. Observe crash
Reproducible with: 2019.4.32f1, 2020.3.24f1, 2021.2.6f1, 2022.1.0b1
Note: pressing 'Create mesh and set compression missing' also causes crash
First lines of the Stack Trace of Crashed Thread:
0x00007FF7D8DE980A (Unity) MeshUtility_CUSTOM_SetMeshCompression
0x0000024C2EEE4A87 (UnityEditor) UnityEditor.MeshUtility.SetMeshCompression()
0x0000024C2EEE1E0B (Assembly-CSharp) Test.CreateMeshAndSetCompression()
0x0000024C2EE39463 (Assembly-CSharp) Test.OnSceneGUI()
0x0000024C2EE3862E (UnityEditor) UnityEditor.SceneView.CallOnSceneGUI()
0x0000024C2EE34123 (UnityEditor) UnityEditor.SceneView.HandleSelectionAndOnSceneGUI()
0x0000024C2EDD551B (UnityEditor) UnityEditor.SceneView.OnGUI()
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Particle System] "ParticleSystem.GeometryJob" sometimes takes up to ~20 ms in the worker thread when initializing 5 Particle Systems
- Can't change OpenXR settings when switching Build Profiles
- L(a,b) expression in float fields has erratic behaviour when ordering due to using instanceID as an index
- InvalidOperationException is thrown when switching to a custom Debug Draw Mode in Scene View
- [Android][Vulkan] Skybox and Environment effects flicker in the Player when using the Vulkan Graphics API
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a3