You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what's going on, i can visibly see the agent is on a navmesh... but it's giving an error saying set destination can only be called on an active agent on a navmesh.
If i drag the exact same prefab on this spot and press start, it will be on the navmesh and set it's destination.
I've tried using NavMesh.SamplePosition and then setting the destination to the hit.position, it gets a position then gives the same error(?!)
I can see the agent component is active in the heirarchy so that's not the issue... Any idea what could be causing this? Am i not assigning it to the navmesh properly or something?
The text was updated successfully, but these errors were encountered:
I'm not sure what's going on, i can visibly see the agent is on a navmesh... but it's giving an error saying set destination can only be called on an active agent on a navmesh.
If i drag the exact same prefab on this spot and press start, it will be on the navmesh and set it's destination.
I've tried using NavMesh.SamplePosition and then setting the destination to the hit.position, it gets a position then gives the same error(?!)
I can see the agent component is active in the heirarchy so that's not the issue... Any idea what could be causing this? Am i not assigning it to the navmesh properly or something?
The text was updated successfully, but these errors were encountered: