How to set UNavArea_Obstacle in C++?

Try to add "NavigationSystem" into your .build.cs file. For example:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "NavigationSystem"});
2 Likes