# Unity5 - Create navmesh for a random generated environment

I am following this tutorial to create a game with random generated mazes:

http://catlikecoding.com/unity/tutorials/maze/


I want to add some monsters to roam around the newly created maze. How can I create navmesh for this kind of random generated environment?

• Please describe here what you're doing. We will not go and read the tutorial; all the information to answer your question should be posted here. – Vaillancourt Mar 23 '16 at 13:50
• AFAIK Unity does not have any options to create or update a Navmesh at runtime, you'll have to build it yourself which imho is not a trivial problem to solve. – Niels Mar 23 '16 at 15:19