# isPersistent

> Is this object persistent? (Assets are persistent, objects stored in Scenes and dynamically created objects are not persistent).

## Definition

* **Type:** Property
* **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
public bool isPersistent { get; }
```
