NavMesh not updating


uthor- Christian Romo

Original Date Published - 2/24/2024

The problem that I encountered this week with developing our game was getting our navmesh to update. For the longest time I would be able to spawn in new rooms but I noticed that the navmesh wouldn't cast itself over the new room. This error was a problem due to the enemies not being able to move. It also limits me to how I can spawn certain actors into our game. 


The solution to this was actually really simple. You see the recastnavmesh itself has an option to dynamically update itself. Which means it will always make sure to look for the new ground to coat. Combine this with getting the navmesh in game whenever I create a new room and updating it through bp I was able to get the navemesh to correctly coat the rooms.


Leave a comment

Log in with itch.io to leave a comment.