Version: 2019.3
Building a NavMesh
NavMesh Surface

NavMesh building components

NavMesh building components provide you with additional controls for building (also known as baking) and using NavMeshes at run time and in the Unity Editor.

The high-level NavMesh building components listed below are not supplied with the standard Unity Editor installer which you download from the Unity store. Instead, download them from the Unity Technologies GitHub and install them separately.

There are four high-level components to use with NavMesh:

  • NavMesh Surface - Use for building and enabling a NavMesh surface for one type of Agent.

  • NavMesh Modifier - Use for affecting the NavMesh generation of NavMesh area types based on the transform hierarchy.

  • NavMeshModifierVolume - Use for affecting the NavMesh generation of NavMesh area types based on volume.

  • NavMeshLink - Use for connecting the same or different NavMesh surfaces for one type of Agent.

See also documentation on Mesh-BuildingComponents-API.

For more information on Agent types, refer to documentation on creating NavMesh Agents.

For more details about NavMesh area types, see documentation on NavMesh areas.

Creating high-level NavMesh building components

To install the high-level NavMesh building components:

  1. Download and install Unity 5.6 or later.

  2. Clone or download the repository from the NavMesh Components page on the Unity Technologies GitHub by clicking on the green Clone or download button.

  3. Open the NavMesh Components Project using Unity, or alternatively copy the contents of the Assets/NavMeshComponents folder to an existing Project.

Find additional examples in the Assets/Examples folder.

Note: Make sure to back up your Project before installing high-level NavMesh building components.

  • 2017–05–26 Page published

  • New feature in 5.6

Building a NavMesh
NavMesh Surface