Quick tip — how to upgrade to URP in Unity
A quick tip on how to upgrade from the Standard Render Pipeline (SRP) to the Universal Render Pipeline (URP)
First open up the package manager by going to Window > Package Manger and switching the Packages tab to “Unity Registry”
Next locate “Universal RP” and click “Install”.
The package will now install. The next step is to create a Pipeline Asset to use. First go to your project tab, Click the plus buttons and select “Rendering” >
“Universal Render Pipeline” > “Pipeline Asset(Forward Renderer)”. You can keep the standard name. Tip- For organization put the newly created asset in folder called Settings.
This creates 2 assets; a “UniversalRenderPipelineAsset” and a “UniversalRenderPipelineAsset_Renderer”.
Next step is to assign the pipeline asset in our graphic settings. To do this click “Edit” > “Project Settings”, select the “Graphics Settings” and assign the new Render Pipeline Asset as the “Render Pipeline Asset” under “Scriptable Render Pipeline Settings”.
What you may notice is some of your assets materials turn pink.
This is easily fixed. Go to “Edit” > “Render Pipeline” > “Universal Render Pipeline” > “Upgrade Project Materials to UniversalRP Materials” and select “Proceed” when you see the pop up.
Some shaders may not update using this method as they are legacy or there may be other issues. You may be able to get around this by manually switching the shader on the object to Universal Render Pipeline (or unlit depending on your use case).
To do this click on your shader in the inspector and select “Universal Render Pipeline” > “Lit”. Next drag your texture back into the “Base Map” under the “Surface Inputs”.
Now all your materials have successfully updated to use the Universal Render Pipeline.