# GetDefaultWorld()

> Returns a reference to the single NavMeshWorld that can currently exist and be used in Unity.

## Definition

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

> **Warning:**
>
> **Deprecated.** The experimental NavMeshWorld struct has been deprecated. Use NavWorld instead.

```csharp
public static NavMeshWorld GetDefaultWorld()
```

### Returns

| Type                                                                                        | Description |
| ------------------------------------------------------------------------------------------- | ----------- |
| [NavMeshWorld](/engine/6000.7/script-reference/unityengine/experimental/ai/navmeshworld.md) |             |

### Remarks

The returned world comprises of all the NavMeshes and connections that are also used through the [NavMesh](/engine/6000.7/script-reference/unityengine/ai/navmesh.md)-related structures.
