/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h
Call with bEnableStatic == true to signal the NavigationSystem it doesn't need to store any navigation-generation-related data at game runtime, because nothing is going to use it anyway. This will short-circuit all code related to navmesh rebuilding, so use it only if you have fully static navigation in your game. bEnableStatic = false will reset the mechanism. Note: this is not a runtime switch. It's highly advisable not to call it manually and useUNavigationSystemModuleConfig.bStrictlyStaticinstead
static void ConfigureAsStatic ( bool bEnableStatic )