Working on a mechanic where the player can place path tiles (3D "blocks"). Each block has a NavigationRegion3D assigned to it. The game spawns random "visitors" that then walk around on these paths. I start the game with a small defined series of paths and some random visitors. Everything works great. Visitors find a new target and walk to it, then repeat.
Player can add tiles, no problem.
Visitors never see these new tiles. I figured it was due to needing to rebake the navmesh so I call that process, however it seems to rebake each tile as a standalone navmesh and doesn't combine them all into one big mesh as baking during design seems to do. Lots of research and video watching, many attempts in code and I'm now at a loss.
Grasping at straws here for an approach that will work. Even considering one giant navmesh with invisible blocks everywhere they can't walk and then removing that block when the player places a path tile there but that just seems very klunky of an approach.
Any suggestions or examples of this you can point me to?