Shader error in ‘Deferred.compute’: failed to open source file: ‘CoreRP/ShaderLibrary/Common.hlsl’ at kernel Deferred_Direct_Fptl at Deferred.compute(77) (on d3d11)
Do you have the file “SRPMARKER” in the same directory as the “ScriptableRenderPipeline” folder ?
Also, try to simply re-import your ScriptableRenderPipeline, this might help.
I Moved to unity downloaded folder ScriptableRenderPipeline-master.
Got error - didt’n know that i need download PostProcessing_v2 and thought that i need delete all inside ScriptableRenderPipeline-master folder and only keep ScriptableRenderPipeline.
Than error was still existed and i read about PostProcessing_v2 - downloaded it.
So all works fine if just put ScriptableRenderPipeline-master and than PostProcessing_v2 in unity.
This is an issue with binaries of Unity. There is a class in SRP (Core, HD, LW) that add a path for the include of shader compilation. It appear that at some point the binaries was not able to load information of path in correct order, thus why it can’t compile shaders. This have been solve recently. One of the workaround is to delete the Library folder.
The SRPMARKER file mention by Remy apply only if you have download from GitHub, not from a template.
I created Lightweight Asset, attached it to Graphics settins, changed shaders to LightweightPipeline->Standart.
Getting errors like this - 74 errors:
Shader error in ‘Deferred.compute’: #errorSAMPLE_TEXTURECUBE_ARRAY_LOD is not supported on GLES 3.0 at kernel Deferred_Direct_Fptl (on gles3)
I can delete errors and play game…when do android build i am getting 1 fps, while without Lightweight SRP i get 10 fps.
It happen all the time now, in the b12, (using HD pipeline from Package Manager) when I’m close project, and open it - I have this error, and everything is pink. I have to dance with a tambourine every time to make it work again.
@Zahidylin_Marat The performance difference is most likely due to some difference in Quality Settings and the LW pipeline asset. Most likely you have more rendering features enabled in LWRP.
I’ve got the same error, but with the LWRP.
Unity 2018b12 and Lightweight Render Pipeline 1.1.2 form the package manager. As it is, it seems it doesn’t work out-of-the-box.
AlterSpace now I switched to the Github version, merged it into the project folder, and if I have this error, I can just re-import the shader and it will fix it.
Has anyone fixed it without downloading the github version and just using the package manager version? This problem seems to still exist in the official release.
I have spent hours trying to get the SRP from github working. I am running 2018.1f2 and corresponding f2 tag for the repository.
I am keep getting the same shader compilation error. We are in need to debug some stuff so we need to run the SRP from source, so I can step in with the debugger.
I tried all the possible trouble shoot and work around I could find in the forum and on github page, I reimported countless time, rebooted, cleared shader cache and any combination of those still no luck. About the SRPMAKER , file is in there, I tried both to keep it where it comes from the cloning of the repo, and move it one lvl up.
Still no luck
Can anyone help with that?
I have also spent hours on it. It seems like I get more and more errors. Like Directory does not exist. Import FBX errors. Failed to open source file. File could not be read. Package directory could not be found. Too many shader keywords. To begin with I managed to get it to build after some hacky workarounds (Still gave exceptions though), but it crashed on the Hololens though because it couldn’t access some memory address in UnityPlayer.dll. I seems like I need a magic formula to make it work or perhaps my computer is just too slow.
Unluckily I cannot use packges, due to not having direct internet access at work, that is why we need to use github. Anywya for now I can kinda work, I can write my own SRP , I just cannot run the LWRP or HDRP from source, If I start a project setting the right LWRP or HDRP preset than those works, but I cannot debug the source.