Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

What does this mean?

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.

  • PommpeiiPommpeii Member

    Thanks!

  • ABOABO Member
    edited July 12

    Please mark this question as accepted.

Sign In or Register to comment.