- Home /
Question by
RedBadgers · Apr 13, 2015 at 08:51 PM ·
navmeshnavmeshagentbake
My NavMeshAgent won't move, I've tried everything
I have 6 NavMesh agents on a terrain with a baked NavMesh. The agents are all prefabs. Their y transform IS on the NavMesh and I have debugged to make sure they are active agents. I get the (seemingly) common error: "SetDestination" can only be called on an active agent placed on a NavMesh. I also get the warning: Failed to create agent because it is not close enough to NavMesh. I have re-baked the NavMesh several times. I also have another scene with the same prefab and a baked NavMesh with the same problems. Please help!
Comment
Answer by mcapousek · Apr 13, 2015 at 09:28 PM
double check that your 'nav-mesh-agent.enabled == true' when you call 'SetDestination'