Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeAllocationSites

Specifies the location that each native allocation was allocated at.
Read time 1 minuteLast updated 9 days ago

Definition

NativeAllocationSites = 8

Remarks

This data is needed to connect native allocations to their Memory Labels and to the native call stacks of their allocation call. 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.
Corresponds to the NativeAllocationSite field in a Memory Snapshot.