Version: 5.6

PackedNativeUnityEngineObject

struct in UnityEditor.MemoryProfiler

Switch to Manual

Description

Description of a C++ unity object in memory.

Variables

hideFlagsThe hideFlags this native object has.
instanceIdInstanceId of this object.
isDontDestroyOnLoadHas this object has been marked as DontDestroyOnLoad?
isManagerIs this native object an internal Unity manager object?
isPersistentIs this object persistent? (Assets are persistent, objects stored in scenes are persistent, dynamically created objects are not)
nameName of this object.
nativeObjectAddressThe memory address of the native C++ object. This matches the "m_CachedPtr" field of UnityEngine.Object.
nativeTypeArrayIndexThe index used to obtain the native C++ type description from the PackedMemorySnapshot.nativeTypes array.
sizeSize in bytes of this object.