can only be called on an active agent that has been placed on a NavMesh.

I set monster’s height slightly up than terrain, and navmesh agent’s offset too for not touch below terrain,

but I get errors constantly.


“SetDestination” can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:set_destination(Vector3)

How to solve?

did you bake the navmesh? im seeing this too actually and i dont know why even with nav mesh baked.