---
title: NativeObjects
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unity/profiling/memory/captureflags/nativeobjects
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/profiling/memory/captureflags/nativeobjects.md
last_updated: 2026-09-14
generated_at: 2026-11-06T12:49:54.999Z
locale: en-us
---

# NativeObjects

> Specifies that information about Native Objects should be collected.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Profiling.Memory](/engine/6000.3/script-reference/unity/profiling/memory.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
NativeObjects = 2
```

### Remarks

This includes information about their Types, names, Native Root, instance IDs, sizes, Flags denoting their status and their connection to their corresponding Managed Objects.

Corresponds to the NativeObject and NativeType fields in a Memory Snapshot.
