Method OnValidate OnValidate() Unity calls this function when it loads the asset or when the asset is changed with the Inspector. Declaration protected override void OnValidate() Overrides RenderPipelineAsset.OnValidate()