What is the lightest way to use NavMesh in an open world environment?

When the AI is not in the navigation area, it does not move in place, causing the FPS to drop seriously, and the FPS is restored after the navigation is resumed.