- Home /
Navmesh not baking
I'm using the latest version of Untiy's Free edition (4.2f I think) and I can't seem to get a navmesh to bake correctly. I have a scene composed of a cube, a plane, and a directional light. I have set the plane to static, then went over to the navigation window and tried to bake the navmesh. No blue mesh appears. If I add a navigation agent to the cube, I get an error that says "Navmesh agent failed, no valid navmesh found." I don't see what I can be doing wrong.
tl;dr Navmeshes are being a giant headache that I cannot figure out.
Yes, it has the default mesh collider for the plane gameobject.
Answer by GeekyMonkey · Dec 31, 2015 at 07:14 PM
It will silently fail to bake if the meshes involved have their renderer disabled. It's so stupid that it uses renderers instead of colliders to calculate the nav mesh.
Answer by PWL_Para · Jan 24, 2018 at 08:18 AM
For anyone who has same problem,
Using unity 2017.2
I faced this issue when I was trying to create an invisible navigation plane.
Unity requires a MeshFilter and Mesh Renderer on the object to bake. You can remove them after backing.
Your answer
Follow this Question
Related Questions
Lack of Bi-Direction OffMeshLinks for Jumping Up? 0 Answers
Instantiated objects at beginning of runtime are messing with the pathing for my NavMesh. 0 Answers
Find the nearest location and move to a target outside Navigation Mesh? 1 Answer
NavMesh Agent glitches on navmesh edges 2 Answers
Unity NavMesh obstacle avoidance? 0 Answers