Mesh collider is not supported on terrain at moment

When add a mesh collider to tree prefab i get this error “Mesh collider is not supported on terrain at moment”. But it doesn’t happen when i add box collider. I want mesh collider for more accuracy.

I believe you can bypass this limitation by enabling “convex” on the collider. That said it has a limit of 255 triangles so it may not be that useful to you depending on how complex the object is.

Doesn’t work

Is there any tools that lets me place game object like unity terrain system for trees so i can just have separate game object for each trees

There are lots of “prefab painter” tools you can use for this purpose. Check the store.

But if possible, use primitive colliders, even many primitive colliders to closely resemble the tree shape will be faster than a single mesh collider.

1 Like