Modify URP source code
Modify URP source code to implement advanced customizations.
Read time 1 minuteLast updated 20 days ago
For advanced customizations, it might not be enough to extend or override APIs defined in URP. You might need to modify URP source code to change certain methods.
To prepare URP source code for modifications:
-
In the root folder of your project, go to.
Library/PackageCache -
Copy the following folders into thefolder at the root of your project:
Packagescom.unity.render-pipelines.universalcom.unity.render-pipelines.universal-config
Now Unity uses the URP source code from the folder of your project, and you can make changes to that code.
PackagesDocument changes to embedded package
To make it easier to upgrade to future Unity versions, document all the changes you make to the embedded URP package code.