Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2019.3
2020.1
2020.1.0b3
2020.2
Issue ID
1232580
Regression
No
Crash on UnityEngine.Mesh.SetSubMesh_Injected when setting a Submesh of a Mesh
How to reproduce:
1. Open attached Project "Case_1232580" and load "SampleScene"
2. Press Play
Reproducible with: 2019.3.8f1, 2020.1.0b4, 2020.2.0a5
Not reproducible with: 2017.4.39f1, 2018.4.20f1 (SetSubMesh not available)
Stack Trace seen before "Crash!!!":
at <unknown> <0xffffffff>
at (wrapper managed-to-native) UnityEngine.Mesh.SetSubMesh_Injected (UnityEngine.Mesh,int,UnityEngine.Rendering.SubMeshDescriptor&,UnityEngine.Rendering.MeshUpdateFlags) [0x00016] in <2a3fae3c8c364436b808c6f3b606bcff>:0
at UnityEngine.Mesh.SetSubMesh (int,UnityEngine.Rendering.SubMeshDescriptor,UnityEngine.Rendering.MeshUpdateFlags) [0x00005] in <2a3fae3c8c364436b808c6f3b606bcff>:0
at ChunkMesh.Start () [0x00005] in D:\LargeDownloads\case_1232580-VoxelEngine\Assets\VoxelEngine\ChunkMesh.cs:9
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a15
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0b14
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.3f1