Editor Upgrade - LWRP Standard Shaders Failing to Compile *FIXED*

Can anyone point towards a fix for this?

Upgraded Editor to 2018.3.6 and getting the following errors. When I open containing folder (from VS) though the #include file appears to be there?

Scene view is all magenta and shaders are listed under “failed to compile”.

OK. After a bit of fiddling around, editing the Lit.shader (and any others in error) line error from:

#include "LitInput.hlsl"

to:

#include "Packages/com.unity.render-pipelines.lightweight/Shaders/LitInput.hlsl"

Fixed the errors (for me) and scene window is now displaying OK.

The last error on CopyDepthPass.hlsl was fixed with…

#include "Packages/com.unity.render-pipelines.lightweight/Shaders/Utils/CopyDepthPass.hlsl"
1 Like

since its read only do you have to create like a new file?

When I get home I’m going to try this, I cant really do my work til I get it fixed, I have the same symptoms