NavMesh

Hy developers, I have some problems in my game project. I want generate a random level (City), but how can i build nav mesh for random buildings positions ?? It is possible to come into buildings.

If you have Unity Pro version it already has Navigational mesh and all you need to do is mark your buildings with the static obstacle (i think it’s a component or maybe a script not sure though), if you have the pro version you can see a tutorial.
Now if you don’t… is it for pathfinding? If so you can try to see if this fits you

http://www.youtube.com/watch?v=bkCLqPpopvE

Hope this fits you.

Unity NavMesh support is edit time only, you can’t generate it at runtime.

For runtime navmesh generation and similar things or in general if you need flexibility, Aron Granbergs A* in its pro version is the #1 solution to fullfill your needs.
Its NavMesh generation bases on Recast like Unitys does too