Limit / reduce startup Navmesh gen CPU usage. Currently navmesh gen uses all cores at 100%.
This will likely cause owners who host multiple servers or shared hosting server providers quite a lot of issues. Many shared providers shutdown / auto restart servers with high CPU usage meaning they may not startup.
Update (as this issue has been linked alot)
- Added nav_wait cvar (default true)
If true we'll wait for the navmesh to generate before completely starting the server. This might cause your server to hitch and lag as it generates in the background.
- Added nav_disable cvar (default false)
If set to true the navmesh won't generate.. which means Ai that uses the navmesh won't be able to move