How to Install the Universal Render Pipeline
A quick guide to installing Unity’s Universal Render Pipeline!
What is Universal Render Pipeline(URP)?
URP is a scriptable render pipeline for Unity. It provides easily accessible workflows for Artists to let them quickly create optimized graphics across various platforms.
If you are starting a new project, you can select the “3D Sample Scene Template” with (URP) from the Unity Hub window. That is it!
If you are upgrading to an existing project, you can go to:
WINDOW > PACKAGE MANAGER.
The Package Manager window will pop up. Select “Unity Registry” above for packages. Look for “Universal RP” and install. I installed it before, hence, the Remove button is showing for me.
Once installed, we need to create a new URP scriptable object. In your “Settings” folder, right-click and go to:
CREATE > RENDERING > UNIVERSAL RENDER PIPELINE > PIPELINE ASSET (FORWARD RENDERER).
Two scriptable objects will be created. Name your scriptable objects the default name it provides.
We now need to tell Unity to use the new pipeline. Go to:
EDIT > PROJECT SETTINGS > GRAPHICS.
Either drag and drop the URP scriptable object into the “Scriptable Render Pipeline Settings” field or select it in the field.
You might have noticed that your scene turned pink! Don’t fret! We will fix this issue in the next step. The reason why all of our models turned pink is that the material it’s using is not set properly after the change. We need to tell Unity to update all of the materials to support URP. Go to:
EDIT > RENDER PIPLE > UNIVERSAL RENDER PIPELINE > UPGRADE PROJECT MATERIALS TO URP MATERIALS.
Finally, that concludes the setup! We are now URP ready!