# invalidSampleId

> Index of the invalid item.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.Profiling](/engine/6000.7/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public const int invalidSampleId = -1
```

### Remarks

If the *invalidSampleId* is the same item as returned by [HierarchyFrameDataView.GetRootItemID](/engine/6000.7/script-reference/unityeditor/profiling/hierarchyframedataview/getrootitemid.md), then the data is unavailable.
