You need Unity's AI Navigation package. When you install this package, it should depend on it and install it automatically for you. Install the package according to ...
This Unity project demonstrates the use of NavMesh AI Agents. Your objective is to collect all the yellow blocks while avoiding the red enemy to win the game.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results