# NativeObjects

> Specifies that information about Native Objects should be collected.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Profiling.Memory](/engine/6000.6/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.
