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.

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.

make sure you are using mesh colliders.

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.