This version of Unity is unsupported.

EditorUtility.scriptCompilationFailed

public static bool scriptCompilationFailed;

Description

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