# scriptCompilationFailed

> True if there are any compilation error messages in the log.

## Definition

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

```csharp
public static bool scriptCompilationFailed { get; }
```
