# NavMeshWorld

> Assembles together a collection of NavMesh surfaces and links that are used as a whole for performing navigation operations.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Experimental.AI](/engine/6000.3/script-reference/unityengine/experimental/ai.md)
* **Assembly:** UnityEngine.AIModule

> **Warning:**
>
> **Deprecated.** The experimental NavMeshWorld struct has been deprecated without replacement.

```csharp
public struct NavMeshWorld
```

## Remarks

Operations are initialized against one world, can use only the NavMeshes inside that world and are not aware of the existence of any other NavMeshWorld.

Copying this object only produces a new reference to the same NavMesh data, it does not duplicate the data in memory.

**Important note:** Currently only a single NavMesh world can be used and a reference to it can be obtained through the [NavMeshWorld.GetDefaultWorld](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld/getdefaultworld.md) method. In the future, multiple NavMesh worlds will be able to be created and any two of them will be completely isolated from each other.

Additional Resources: [NavMeshQuery](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshquery.md).

## Methods

| Method                                                                                                     | Description                                                                       |
| ---------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [AddDependency](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld/adddependency.md) | Tells the NavMesh world to halt any changes until the specified job is completed. |
| [IsValid](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld/isvalid.md)             | Returns `true` if the NavMeshWorld has been properly initialized.                 |

## Static Methods

| Method                                                                                                         | Description                                                                                                                                                                  |
| -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetDefaultWorld](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld/getdefaultworld.md) | Returns a reference to the single [NavMeshWorld](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld.md) that can currently exist and be used in Unity. |
