Update Recast Graph at runtime

I am updating a Recast Graph at runtime, with a particular focus on updating only a localized area at any given time. My goal is to achieve a dynamic terrain modification system similar to “Minecraft”, where adding a new mountain or terrain feature would result in immediate updates to the local area without the need to refresh the entire map, as doing so would be too resource-intensive.

Could you provide guidance or advice on how best to implement this functionality?

Hi

You can take a look at Graph Updates - A* Pathfinding Project

TL;DR run:

AstarPath.active.UpdateGraphs(bounding box);

whenever you’ve made a change to the world.