Use navmesh during game?

Hi! I’m trying to make a random level generating game and want to use the built in navmesh pathfinding. Is there away to update the navmesh while the game is running? For example, the game is running and the player decides he wants a new level. What is the function to make it update the navmesh once a new level is created?

AFAIK, it is impossible to dynamically create navmeshes at run-time - they must be baked in the editor. You’ll have to use one of the alternative pathfinding assets or write your own.