# NativeAssert(string)

> Manually causes an assert that outputs the specified message to the log and registers an error.

## Definition

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

```csharp
public static void NativeAssert(string message)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;
