public virtual void OnEnable() { var s = target as Shader; if (s != null) { ShaderUtil.FetchCachedMessages(s); } }