# NativeStackTraces

> Specifies that Call-Stack Symbols for the Native Call-stack of each Allocation should be collected.

## Definition

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

```csharp
NativeStackTraces = 16
```

### Remarks

Native Call stacks can only be collected from a build that supports the collection of Native Call-stack information, which currently requires Source Code access. To be able to connect each allocation to its Call-stack, the [CaptureFlags.NativeAllocationSites](/engine/6000.7/script-reference/unity/profiling/memory/captureflags/nativeallocationsites.md) needs to be specified as well.

Corresponds to the NativeCallstackSymbol field in a Memory Snapshot.
