I’m getting alot of compile errors in console that includes:
‘The references script on this behavior is missing.’
‘Mesh Collider is not supported on this terrain at the moment.’
Can someone help me getting this solved. Thanks!
I’m getting alot of compile errors in console that includes:
‘The references script on this behavior is missing.’
‘Mesh Collider is not supported on this terrain at the moment.’
Can someone help me getting this solved. Thanks!
I found out forum posts of people complaining about this limitation since 2011.
It seems Unity doesn’t care at all about providing support for trees with mesh colliders.
The solutions are to manually place trees as prefabs or to use capsule colliders which cannot provide good coverage for branches and crooked trees.
Im getting real tired of the limitations of Unity and the things they refuse to fix. Im also a little annoyed that they took away Javascript. Yes, Yes I know C# is better. Blah ,F#cking Blah. I still preferred it. About to say screw this company and go to there competitors.
I’m like decades late but like if you take a look at standard assets for the trees unity provided uses rigidbody just substitute mesh for rigid (was having same problem so I took a look at the standard asses)
Edit: IT DID NOT WORK LOL WHAT then what makes standard trees be able to collide with players
If you place prefabbed trees (with mesh collider) directly without using the terrain brush, then they work fine. It takes longer but they do work.
Other things to know here are:
Mesh colliders wont collide with other mesh colliders unless they are convex. Which is an option in the mesh collider component.
The mesh colliders of trees need not be convex if they are only going to be hit by primitive colliders (Sphere, Cube, Cylinder etc).
Thanks ToroidGames, unticking ‘Convex’ fixed my issue on a Rock that was causing ‘TerrainCollider: MeshCollider is not supported on terrain at the moment.’ The rock is still functioning as a solid rock!
Thanks ian_1337, that worked.
2023, and still not supported. Is everyone using third party tools or making their own? Im assuming assets on the store like vegitation studio or engine support custom colliders?
I honestly dont understand having a terrain system that allows painting trees, rocks etc., but only using primitive colliders.
TerrainCollider: MeshCollider is not supported on terrain at the moment.
Failed to create agent because there is no valid NavMesh
add a navmesh xD right click hierarchy , Ai, then add navmesh surface! but i mean i still get the first error… just dont get the navmesh warning!
I also have the same problem but, I just use the regular terrain brush to cover the places the player can’t go and just manually place every tree. Or if I’m making it such that the player can explore the forests then I just add a small Box collider around the mesh, this way I can even write functions for these colliders (Breaking the tree when hit at high speed etc).
and now 2023, mesh collider doesn’t work with terrain collider
i’m having trouble with my terrain, i’m devloping a racing game and already add mesh collider on my terrain but when i play it my kart still pass through my terrain. i tried to add mesh collider on my kart’s wheel too but it made my wheel won’t move or turn.Can someone help me?..
the same issue
the same issue
the same issue
Please stop necroposting this 2019 thread. Stating “the same issue” will achieve nothing.
Either create your own thread fully describing your specific issue and what you’ve done to debug it and/or submit a bug report.
Thanks.
Thread Closed