Version: 2018.2 (switch to 2018.1 or 2017.4)
Building a NavMesh
NavMesh Surface
Other Versions

NavMesh building components

NavMeshA mesh that Unity generates to approximate the walkable areas and obstacles in your environment for path finding and AI-controlled navigation. More info
See in Glossary
building componentsA functional part of a GameObject. A GameObject can contain any number of components. Unity has many built-in components, and you can create your own by writing scripts that inherit from MonoBehaviour. More info
See in Glossary
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 AssetsAny media or data that can be used in your game or project. An asset may come from a file created outside of Unity, such as a 3D model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info
See in Glossary

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

  • 2017–05–26 Page published with limited editorial review

  • New feature in 5.6

Did you find this page useful? Please give it a rating:

Building a NavMesh
NavMesh Surface