# IsValid()

> Returns true if the NavMeshWorld has been properly initialized.

## Definition

* **Type:** Method
* **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 bool IsValid()
```

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

### Remarks

Currently the only way to obtain the single possible valid NavMesh world is through a call to [NavMeshWorld.GetDefaultWorld](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshworld/getdefaultworld.md).
