2.5D Cert Req: Upgrading to URP
Upgrading to Universal Render Pipeline is a piece of cake.
What is URP?
URP stands for “Universal Render Pipeline.” It is a prebuilt scriptable render pipeline that provides friendly workflows and allows you to easily create optimized graphics for many platforms.
Let's get started!
Here are the steps
- Install the Univeral Render Pipeline package.
- Create a folder for your URP render profile.
- Create URP render profile.
- Assign the render profile to your Scriptable Render Pipeline Settings.
Install URP
First, we need to install the URP located in the Package Manager.
Go to Windows>Package Manager. A window will pop up. Make sure your Packages list is set to “Unity Registry” located next to the “+” button on the top left corner. Look for Universal RP and install!
Create A Folder
I like to organize my files so I created a folder in the Assets directory for the render profile we are about to create. You can name it whatever. I went with “Settings.”
Create URP Render Profile
In the Settings folder, I right-click:
Create>Rendering>Universal Render Pipeline> and click on Pipeline Asset (Forward Renderer).
You can name the render profile or keep it as is. It automatically creates two files.
Assign Render Profile
For us to use the URP render profile, we need to access the project settings.
Go to Edit>Project Settings.
A window will open. Click on “Graphics.”
At the very top, we assign the render profile to the “Scriptable Render Pipeline Settings.”
Upgraded
If you are having issues with your materials not displaying properly, then you will need to tell Unity to update them by going to:
Edit> Render Pipeline> Universal Render Pipeline> Upgrade Materials to UniversalRP Materials.
We now have upgraded to URP! Congrats!
Gabriel