Rebuilding dynamic navmesh via c++ stops working after switching levels

Hi, thanks for reaching out!

I use the code whenever I add a tile to the level (50x50 meters approx) Its a very simple function that makes sure the level never ends pic below:


Example:

  1. Player reaches tile 2
  2. Add tiles A,B,C
  3. Move navmesh bounds to tile 2 (the bounding box is bigger than the tile)
  4. Rebuild navmesh

The navmesh is dynamic, and yes both levels contain the RecastNavMeshActor

I move the bounding box because the level has no limits and can grow infinitely.