# ShaderCompilerMessageSeverity

> Indicates the severity of a message returned by the Unity Shader Compiler.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Rendering](/engine/6000.6/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum ShaderCompilerMessageSeverity
```

## Remarks

Used in the [ShaderMessage](/engine/6000.6/script-reference/unityeditor/shadermessage.md) class.

## Fields

| Value                                                                                                     | Description                                                                                            |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [Error](/engine/6000.6/script-reference/unityeditor/rendering/shadercompilermessageseverity/error.md)     | Indicates that a message returned by the Unity Shader Compiler is an error and the compilation failed. |
| [Warning](/engine/6000.6/script-reference/unityeditor/rendering/shadercompilermessageseverity/warning.md) | Indicates that a message returned by the Unity Shader Compiler is a warning.                           |
