Hi,
I have a project I have been working on for a few months, upto this point I had been using transform.translate to do all my movement. Now I’m implementing NavMesh agents to a few GameObjects, and regardless of what I do I always get the error:
“SetDestination” can only be called on an active agent that has been placed on a NavMesh."
Steps I’ve taken:
1)I baked my environment marking the ground as static, I see all the purple and blue, and the NavMesh Agent is touching the ground.
-
I’ve created a new project and have successfully been able to use the NavMesh Agent.
-
I’ve deleted my library and project settings, but the issues persists.
-
I followed all steps mentioned here "SetDestination" can only be called on an active agent that has been placed on a NavMesh. - Questions & Answers - Unity Discussions
Finally, I was able to create a new project and copy over my assets folder, and get the navmesh to work in a new scene, but I’m missing things like my custom layers and whatnot. Additionally, any saved scene from the old project still gives me the error.
Any ideas to reset the NavMesh?
or suggestions on cloning a project without having to redo all the work.
I’d prefer not to have to recreate my entire scenes to use NavMesh.