旧项目升级urp管线
具体步骤如下:
1.安装urp插件,windows->Package Manager->Unity Registry->Universal RP->install。
2.创建管线配置资源,Project窗口下点击“+”号或者右键Create
2020版本选择Rendering->Universal Render Pipline->Pipline Assets
2021版本选择Rendering->URP Asset
3.设置管线配置,将刚创建的管线资源分别拖入
Edit->Project Settings->Graphics->Scriptable Render Pipline Settings
Edit->Project Settings->Quality->Rendering->Render Pipline Assets
它或许会给你个弹窗,不用担心,它只是提示你设置这项配置会有点耗时。点continue即可。
4.升级项目中非urp材质为urp材质
Edit->Rendering->Materials->Convert Selected Built-in Materials to URP