It looks like you're new here. If you want to get involved, click one of these buttons!
I'm having trouble baking a walkable area for an npc in game. I just downloaded the desert area and opened up the example scene and put my ai in, but for some reason whenever I click play, I get this error.
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:SetDestination(Vector3)
What does this mean and how do I fix it?
Answers
That means your npc is placed way to higher than the navmesh so it is unable to detect where to go when you calls the setDestination.
Thanks!
Please mark this question as accepted.
its not it doesnt work
bake a navmesh
thats the problem im having the navmesh wont bake
send a screenshot bc it should bake
yes