UnsafeUtility.GetLeakDetectionMode

Declaration

public static Unity.Collections.NativeLeakDetectionMode GetLeakDetectionMode();

Returns

NativeLeakDetectionMode The mode of leak detection:

  • 1: Disabled
  • 2: Enabled
  • 3: Enabled with callstacks

Description

Gets the mode of memory leak detection.


Did you find this page useful? Please give it a rating: