Configuring the Universal Render Pipeline
To configure and use the Universal Render Pipeline (URP), you must first:
- create the Universal Render Pipeline Asset
- add the Asset to the Graphics settings for your Project
To read more about each step, see below.
Creating the Universal Render Pipeline Asset
The Universal Render Pipeline Asset controls the global rendering and quality settings of your Project and creates the rendering pipeline instance. The rendering pipeline instance contains intermediate resources and the render pipeline implementation.
To create a Universal Render Pipeline Asset:
- In the Editor, go to the Project window.
- Right-click in the Project window, and select Create > Rendering > URP Asset. Alternatively, navigate to the menu bar in top, and click Assets > Create > Rendering > Universal Render Pipeline > Pipeline Asset.
- Either leave the default name for the Asset, or type a new one. You've now created a URP Asset.
Tip: You can create multiple URP Assets to store settings for different platforms or for different testing environments. Once you've started using URP, try swapping out URP Assets under Graphics settings and test the combinations, to see what fits your Project or platforms best. You cannot swap URP Assets for other types of render pipeline assets, though.
Adding the Asset to your Graphics settings
To use the Universal Render Pipeline, you have to add the newly created URP Asset to your Graphics settings in Unity. If you don't, Unity still tries to use the built-in render pipeline.
- Navigate to Edit > Project Settings > Graphics.
- In the Scriptable Render Pipeline Settings field, add the URP Asset you created earlier.
Note: When you add the UP Asset, the available settings in URP immediately changes. This is because you've effectively instructed Unity to use the URP specific settings instead of those for the built-in render pipeline.