# OnValidate()

> Default implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate()

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
protected virtual void OnValidate()
```

### Remarks

Override this function to add your specific OnValidate code. You must call base.OnValidate() as well.
