Basically, all shaders made with shader graph does not work(outline does not show). HDRP Lit shaders work just fine.
When I build in Dev Mode, it all works fine.
I am assuming this is related to this same issue I posted a few weeks ago
Hello, are you using the Lit Shader Mode ‘Deferred Only’ mode in your HDRP asset config ? If you are, can you try setting it to Both and see if it fixes the issue ?
Setting the Lit Shader Mode to Both doesn’t affect the performance, it only increases your build time since you have to compile both deferred and forward shader variants.
There is indeed an issue with dev build because it’s not supposed to work, there must be a shader striping issue here, i’ll take a look at that.
And for the custom pass rendering issue i’m afraid the only thing we can do is to put a warning in the custom pass UI to warn about this behavior when rendering opaque objects. Even if we could fix it we’d end up with the exact same behavior than setting the Lit Shader Mode to Both (because you need to include and compile all the Forward variants even if you’re in deferred only since custom passes uses only Forward) so i guess this workaround is not so bad for now.