Why is it that sometimes you have to manually install the Nav Mesh Agent using a Git URL in Unity?

113 Views Asked by At

Why did I encounter the need to manually install the Nav Mesh Agent using a Git URL in Unity while working on my horror game project? Initially, I couldn't find the option to add it to the module, and it wasn't until later that I discovered I could do so via a GitHub link. What might have caused this unusual behavior, and how does this workaround function?

https://github.com/Unity-Technologies/NavMeshComponents

I attempted to create a Nav Mesh Agent. I expected that I would be able to add the Nav Mesh Agent to the project module in a straightforward manner, just as I had done with other assets and components. However, I was initially unable to find the option to add the Nav Mesh Agent as I expected. It was only after some troubleshooting that I realized I could manually install it using a GitHub link.

1

There are 1 best solutions below

0
TheNomad On BEST ANSWER

You need to install the AI Navigation package using the Package Manager if you have newer Unity versions as AI content is no longer included by default.

Edit: added some references

Here is the announcement.

Here is the documentation. (notice the version combo list which is also Unity-version dependent)

Here is the API reference. (notice the version combo list which is also Unity-version dependent)