Everytime a click on the bake button, it happens instantly and doesn't actually create a nav mesh. I have highlighted the objects wanted and put them as static but it still doesn't want to generate. Edit: I am using a x,y plane I realized but is it possible to bake on the x,y plane?
If you're using the NavMeshSurface component from https://github.com/Unity-Technologies/NavMeshComponents - make sure the up-axis (local y-axis) of its transform is pointing up relative to the desired walkable plane - in your case that'd be parallel to the world z-axis