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

NavMeshAgent.SetDestination does not work #182

Closed
ghost opened this issue Jan 23, 2024 · 3 comments
Closed

NavMeshAgent.SetDestination does not work #182

ghost opened this issue Jan 23, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2024

While attempting to use this package, I was given the error ""SetDestination" can only be called on an active agent that has been placed on a NavMesh." I was following this tutorial, but I know that it's old and apparently there was some 2022 update, so how would I produce the same result as in the tutorial with the current version?

My code:
navmesh issue code

I just want to have one object that chases another.
Tutorial link if anyone wants to help: https://www.youtube.com/watch?v=W-NIYi1t16Q&ab_channel=TheZBillDyl

@h8man
Copy link
Owner

h8man commented Jan 23, 2024

#158

in what exact version it doesn't work?

https://github.com/h8man/RedHotSweetPepper

@ghost
Copy link
Author

ghost commented Jan 24, 2024

I am currently using the 2022.2.20 version of unity for my project.

@ghost
Copy link
Author

ghost commented Jan 24, 2024

Thank you for the tutorial you linked! it was a big help, and now I figured out how to do it!

@ghost ghost closed this as completed Jan 24, 2024
This issue was closed.
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