Version: 2023.1
LanguageEnglish
  • C#

CaptureFlags.NativeStackTraces

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 that Call-Stack Symbols for the Native Call-stack of each Allocation should be collected.

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 needs to be specified as well.

Corresponds to the NativeCallstackSymbol field in a Memory Snapshot.