Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigationSystem and NavigationPath missing #1

Closed
Mykybo opened this issue Jun 22, 2018 · 6 comments
Closed

NavigationSystem and NavigationPath missing #1

Mykybo opened this issue Jun 22, 2018 · 6 comments

Comments

@Mykybo
Copy link

Mykybo commented Jun 22, 2018

In STrackerBot.cpp you include NavigationSystem and NavigationPath:

#include "AI/Navigation/NavigationSystem.h"
#include "AI/Navigation/NavigationPath.h"

but they are not in the repo, am I missing something?

@wisien92
Copy link

wisien92 commented Jul 4, 2018

These files are engine files (and I can't see them in repo). Are you using 4.20-preview? I had the same issue. Rolling back to 4.19.2 (and rebuilding sollution) fixed that for me.

@Mykybo
Copy link
Author

Mykybo commented Jul 4, 2018

yeah, I am using 4.20, I just removed that section of code, would have to update to 4.20 eventually anyways

@wisien92
Copy link

wisien92 commented Jul 5, 2018

That's true. I like to wait till comunity prepares transition guide :)

@Chosker
Copy link

Chosker commented Jul 23, 2018

got the same issue, resolved it quickly

in STrackerBot.cpp change
#include "AI/Navigation/NavigationSystem.h"
for
#include "NavigationSystem/Public/NavigationSystem.h"

in STrackerBot.cpp change
#include "AI/Navigation/NavigationPath.h"
for
#include "NavigationSystem/Public/NavigationPath.h"

in CoopGame.Build.cs change
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
for
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "NavigationSystem" });

compile and enjoy :)

@tomlooman
Copy link
Owner

Thanks for the solutions guys, I've went ahead and created new Branches for the engine versions including 4.20 to support the API changes like the AI module change.

@acdc4567
Copy link

acdc4567 commented Dec 8, 2021

Everything up to this point is all right..Change UNavigationSystem::FindPathToActorSynch... to UNavigationSystemV1::FindPathToActorSynch...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants