Unity Universal Render Pipeline (URP) - Initial Setup
Like many others I've recently made the switch to using Unity's Universal Render Pipeline (URP). This post is a quick guide on how to get started with URP.
Installation and Initial Setup
The Universal Render Pipeline is a separate package we need to install before we begin.
1. Open the Package Manager: Window > Package Manager
2. In the Package Manager search for Universal RP then click Install on the bottom Right corner of Package Manager.
3. We next need to create a Pipeline Asset, which controls global rendering and quality settings for your project.
Create > Rendering > Universal Render Pipeline > Pipeline Asset (Forward Renderer)
4. Open your graphics settings and drag your newly created Render Pipeline Asset into the Scriptable Render Pipeline Settings slot.
Edit > Project Settings > Graphics
Your project is now using the Universal Render Pipeline!
Upgrading Materials / Shaders To URP
If you are adding URP to an existing project (or if you add new packages / assets to your project) you may have noticed that some of the materials and shaders don't look right, usually pink.
Luckily, Unity has made this issue an easy fix; the materials just need upgrading to URP materials instead of standard materials. If you want to know what each material type will be changed into, Unity has a table on their website Here.
Edit > Render Pipeline > Universal Render Pipeline
Select either Upgrade Project Materials to URP Materials or Upgrade Selected Materials to URP Materials.
Thanks For Reading!
Hopefully this quick guide helped you through the initial steps of setting up the Universal Render Pipeline. I plan on creating more guides on URP in the future.
Until then, Happy Developing!