Version: 2022.3
LanguageEnglish
  • C#

CaptureFlags.NativeAllocationSites

Suggest a change

Success!

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

Submission failed

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

Cancel

Description

Specifies the location that each native allocation was allocated at.

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.