UNavigationSystemV1
#include "NavigationSystem.h" Description
The primary navigation subsystem that manages NavMesh generation, path queries, and agent navigation. Lives on the World and is the main entry point for pathfinding requests in C++.
Caveats & Gotchas
- • The 'V1' suffix indicates this is the first-generation navigation system. It is still the active default — no 'V2' exists yet in shipping builds.
- • Always access via static helpers (GetCurrent, GetNavigationSystem) rather than casting UWorld's navigation system directly.
- • NavMesh generation is asynchronous; avoid querying immediately after dynamic geometry changes.
Example
Get the navigation system from any actor C++
UNavigationSystemV1* NavSys = FNavigationSystem::GetCurrent<UNavigationSystemV1>(GetWorld());
if (NavSys)
{
// Query nav data, request paths, etc.
} Functions (1)
Transform 1 ▼
| Access | Type | Name |
|---|---|---|
| public | function | UNavigationSystemV1::GetRandomReachablePointInRadius |
See Also
Tags
Version History
Introduced in: 4.20
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?