This version of Unity is unsupported.

ShaderInfo.hasErrors

public bool hasErrors;

Description

True if the shader has compilation errors.