# IsPersistent

> Equivalent of IsPersistent in the old memory profiler API.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.MemoryProfiler](/engine/6000.6/script-reference/unityeditor/memoryprofiler.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
IsPersistent = 2
```
