Version: 2020.3
public bool Success ;

描述

Indicates whether the variant compilation succeeded. If it did, it is true. Otherwise, this is false and ShaderData.VariantCompileInfo.Messages contains the errors.