This version of Unity is unsupported.

UnsafeUtility.SetLeakDetectionMode

Declaration

public static void SetLeakDetectionMode(Unity.Collections.NativeLeakDetectionMode value);

Parameters

value The mode of leak detection.

Description

Sets whether leak detection is 1=disabled, 2=enabled, or 3=enabled with callstacks.