[SOLVED]NavMeshAgent not moving longer Route

Hi,

I´ve been using a navmesh for pathfinding/navigation for my character.
This used to work perfectly until recently my scene grew larger.
Now my navmeshagent will not move/ follow a path when it is longer/ more complex.

I’ve checked all settings for the navmeshagent and the baked mesh but can’t figure out the problem.
I found some posts on the forums from people with similar problems but i cannot find a good explanation for the problem.

Will anyone here be able to help me?

Thx!

HI,

I´ve fixed the issue with the NavMeshAgent.

The problem was the NavMeshObstacles had the Carving variable set to 0.
This should be set to >0 to avoid continuous recalculating of the NavMesh. Which was causing the problem why my NavMeshAgent wasn’t able to move.
Setting carving to >0 also improved the performance of my game greatly!

I hope this will help! :slight_smile: