You’ll need to manually lock and unlock navmesh generation using UNavigationSystem::AddNavigationBuildLock
and UNavigationSystem::RemoveNavigationBuildLock
. Navigation needs to be configured for Dynamic generation for it to work.
Cheers,
–mieszko