Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEditor.MemoryProfiler
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Description of a C++ unity object in memory.
|hideFlags||The hideFlags this native object has.|
|instanceId||InstanceId of this object.|
|isDontDestroyOnLoad||Has this object has been marked as DontDestroyOnLoad?|
|isManager||Is this native object an internal Unity manager object?|
|isPersistent||Is this object persistent? (Assets are persistent, objects stored in scenes are persistent, dynamically created objects are not)|
|name||Name of this object.|
|nativeObjectAddress||The memory address of the native C++ object. This matches the "m_CachedPtr" field of UnityEngine.Object.|
|nativeTypeArrayIndex||The index used to obtain the native C++ type description from the PackedMemorySnapshot.nativeTypes array.|
|size||Size in bytes of this object.|
Did you find this page useful? Please give it a rating: