Search Issue Tracker
Fixed in 2020.2
Fixed in 2019.4, 2020.1
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
- Shadows are not cast when you first Blit the Shadow map and then set it back to Buffer
- Changes to instanced detail mesh material don't immediately apply
- [uGUI] Vertices retrieved from GetUIVertexStream method cannot be modified when adjusting them through script
- Scroll bar scrolls less in the Package Manager packages than elsewhere when pressing on the empty scroll bar area to scroll
- Undo.RegisterCreatedObjectUndo dirties the scene, but no actual changes to Scene are made
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