# CheckIntegrity(IntegrityCheckLevel)

> Performs an integrity check of the currently running process and return discovered errors.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static string CheckIntegrity(IntegrityCheckLevel level)
```

### Parameters

**** (\[IntegrityCheckLevel]\(/engine/6000.0/script-reference/unityengine/integritychecklevel)): Thoroughness of integrity check.

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) |             |
