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
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a3