# OutOfNodes

> Query ran out of node stack space during a search.

## Definition

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

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

```csharp
OutOfNodes = 32
```

### Remarks

This happens when the query has visited more nodes than there is room in the [NavMeshQuery](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshquery.md). To fix this issue try a larger value for the `pathNodePoolSize` parameter when creating the [NavMeshQuery](/engine/6000.3/script-reference/unityengine/experimental/ai/navmeshquery.md).
