# PackedNativeUnityEngineObject

> Description of a C++ unity object in memory.

## Definition

* **Type:** Struct
* **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 struct PackedNativeUnityEngineObject
```

## Properties

| Property                                                                                                                                 | Description                                                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [hideFlags](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/hideflags.md)                       | The hideFlags this native object has.                                                                                                                                                                       |
| [isDontDestroyOnLoad](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/isdontdestroyonload.md)   | Has this object has been marked as DontDestroyOnLoad?                                                                                                                                                       |
| [isManager](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/ismanager.md)                       | Is this native object an internal Unity manager object?                                                                                                                                                     |
| [isPersistent](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/ispersistent.md)                 | Is this object persistent? (Assets are persistent, objects stored in Scenes and dynamically created objects are not persistent).                                                                            |
| [name](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/name.md)                                 | Name of this object.                                                                                                                                                                                        |
| [nativeObjectAddress](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/nativeobjectaddress.md)   | The memory address of the native C++ object. This matches the "m\_CachedPtr" field of UnityEngine.Object.                                                                                                   |
| [nativeTypeArrayIndex](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/nativetypearrayindex.md) | The index used to obtain the native C++ type description from the [PackedMemorySnapshot.nativeTypes](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packedmemorysnapshot/nativetypes.md) array. |
| [size](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/size.md)                                 | Size in bytes of this object.                                                                                                                                                                               |
