---
title: IsValid()
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/experimental/ai/navmeshworld/isvalid
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/experimental/ai/navmeshworld/isvalid.md
last_updated: 2026-10-07
generated_at: 2026-11-11T08:59:07.552Z
locale: en-us
---

# IsValid()

> Returns true if the NavMeshWorld has been properly initialized.

## Definition

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

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

```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/7000.0/script-reference/unityengine/experimental/ai/navmeshworld/getdefaultworld.md).
