Hi, I am trying to download the SRP package from github, because I want to try out the VFX graph and to stay up to date with HDRP, and have spent a day struggling to get it to work… I didn’t want to ask anyone for help so far because I think all the time “I must be really stupid and I’m missing something…” but now I’m at the end of my nerves so would love to have some help.
First, let me say I’m using the latest 2018.3.0b10 Unity version. I followed the instructions and used
git clone https://github.com/Unity-Technologies/ScriptableRenderPipeline.git --branch release/2018.3
That worked fine, then, although the VFX forum post doesn’t mention it, but the other readme on github tells, I used
git submodule update --init --recursive --remote
Ok, that did… Something… Not exactly sure what (cmd did not output anything) or if I’m supposed to do it because other tutorials don’t say it
Now, I opened Unity. After a while of loading everything, I get a bunch of errors. FIrst, there was this…
Appears that every test folder has assembly definition files named the same way. Why is that??
Since these are tests, I realized I can just remove the whole “TestProjects” folder. I did and the errors were now gone.
Ok, next, the SRP is looking for post processing, ok, so I installed the Post Processing package from package manager. Now it finally compiled and I can run it… But… There is a bunch of shader errors
To be precise there are 529 errors. There is 3 types of errors
- shader keywords exceeded, example:
You will have to delete some shaders or make them use less keywords.```
2. missing templates, example:
```Template not found: Packages/com.unity.render-pipelines.high-definition/Editor/Material\Lit\ShaderGraph\HDLitPass.template
UnityEditor.Experimental.AssetImporters.ScriptedImporter:GenerateAssetData(AssetImportContext)```
3. and failed to open source file:
```Shader error in 'HDRenderPipeline/StackLit': failed to open source file: 'Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl' at line 352 (on d3d11)```
As a result HDRP materials are categorized under "Failed to compile":

And also, HDRP pipeline file is nowhere to be found!?!? LWRP is there, but no HDRP.

As a side note, I thought my GPU might not support these shaders and hence they can't compile, but HDRP is running fine via package manager, it's just that github does not.
I am surprised tutorials end up with "oh just clone the git repository.." and everyone appears to have no issues.. No one mentions the assembly definition problem (at least I couldn't find), and any of issues I'm having.
I constantly have this feeling of "I must be missing something", but I go back to reread the github notes and it doesn't appear that I am...
I hope you can help me get it running, I really want to try out the new VFX graph :)