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
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
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