How to edit HDRP source from github.

I am using Unity 2022.3.10f1 which uses HDRP version 14.08. If I put the HDRP package from github with the same version (using branch 2022.3/staging) in my “Packages” folder, the project now has errors relating to the replaced package.

HDRP versions are tied to the unity versions, so if you are using 2023.3 HDRP it will be compatible only with 2023.3 Unity.

You can move the HDRP package from the package cache into the Packages folder. Unity will then pick up the moved location and you can change the source code in the new location. (Hope this is what you meant)

I miswrote. I meant 2022.3/staging.