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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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