# hasWarnings

> Indicates whether the shader has compilation warnings (Read Only).

## Definition

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

```csharp
public bool hasWarnings { get; }
```
