# NativeLeakDetection

> Contains settings for native leak detection.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static class NativeLeakDetection
```

## Static Properties

| Property                                                                              | Description                                                             |
| ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [Mode](/engine/6000.7/script-reference/unity/collections/nativeleakdetection/mode.md) | Set whether native memory leak detection should be enabled or disabled. |
