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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a3