Seek "SetDestination" can only be called on an active agent that has been placed on a NavMesh

tailevi

New member
Sorry if the title is too long but that's my problem :

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

and

"Resume" can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:set_isStopped()

I've followed the tutorial on youtube in this link :

for some reason, those errors only when I try using the seek tool
for better understanding of the situation i created a 2D game and tried the tutorial step by step.tree.PNG

please help and ty 4 ur time =D
 
Top