Question by
jamesnhan · Apr 17, 2016 at 04:32 PM ·
meshmeshcolliderconvexsharedmesh
MeshCollider Convex Mesh Descriptor Is Invalid
I'm getting the error that the user-provided convex mesh descriptor is invalid when setting the sharedMesh of the MeshCollider of my code-generated mesh.
This is the code I'm using to generate the Mesh and set it to the Mesh Collider:
Google turned up only one other related post, but no one has answered it in like 8 months. What is going wrong?
Comment
Answer by jantje · Mar 19, 2017 at 09:25 PM
I was having a similar issue and it turned out it was because all my verts had been set to (0,0,0). Not sure if this what is happening in your case as I didn't run your code. but thought that that info might help.