There's more...

One way to test that we carried out the previous steps successfully is to take the following steps:

  1. Check there are no errors after asset reloading.
  2. Create an empty game object, or select a random one for testing.
  3. Go to the Inspector window and click on Add Component.
  4. Write NavMesh in the search bar.
  1. Make sure that all of the following components are listed:
    • Nav Mesh Agent (included in Unity)
    • Nav Mesh Obstacle (included in Unity)
    • NavMeshLink
    • NavMeshModifier
    • NavMeshModifierVolume
    • NavMeshSurface

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.