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

No navigation volume known for navigation component #23

Closed
sihnatse opened this issue Oct 11, 2021 · 1 comment
Closed

No navigation volume known for navigation component #23

sihnatse opened this issue Oct 11, 2021 · 1 comment

Comments

@sihnatse
Copy link

A test case I am trying is to build a single path between two point.

  • SVON volume has been added to level, and mesh has been generated.
  • A character gets SVONNavigation component. Call to FindPathImmediate outputs nothing.
UESVON: Error: Pawn is not inside an SVON volume, or nav data has not been generated

It is likely myCurrentNavVolume is nullptr.

How to get SVONNavigation component to know about SVON volume in the level?

@sihnatse
Copy link
Author

Fixed. It turns out that FindPathImmediate cannot be called in EventBeginPlay, at least without delay. SVONNavigation component needs some time to make internal initialisation.

If author wishes, elaborate answer on why would be helpful.

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

1 participant