- Home /
Object with more than 255 polygons (with Mesh Collider(Convex - on)) is falling through a Terrain
So what that my game object has more than 255 polygons? Is this a problem nowadays?
I'm receiving this error message: "the hull has more than 255 polygons. this is invalid"
Answer by Bunny83 · Aug 09, 2014 at 04:04 PM
If you're moving object can't be a convex meshcollider (due to more than 255 polygons) you can't use a MeshCollider at all. A non-convex MeshCollider can't collider with other non-convex MeshColliders. The terrain collider can be seen as non-convex MeshCollider. So your only option is to either use a custom mesh that fits the original mesh best and can be convex, or use multiply primitive colliders as compound collider to get an approximate collider. The second option is probably the fastest one.
It's not weird, it's quite normal, and explained in the docs.
Answer by Subhajit-Nath · Aug 09, 2014 at 12:17 PM
Convex Mesh Collider doesn't support more than 255 polygons. Just turn off Convex you should be fine.
Object is still falling through a Terrain ) but with less than 255 polygons and Convex turned on it works fine )
should I set $$anonymous$$esh Collider to terrain too?