URP No longer working on 2021.2.0b5

Hey - not sure if this is a bug or intentional but when making a shader with the target of URP it tells you to tick the “Support VFX Graph” box in the inspector but there is no such box. Is this because it has been temporarily disabled? Or maybe I have a local configuration that is wrong. Just thought Id raise in case for awareness.

Hi @willnnotdan ,

I believe this is more of an UI issue, I don’t think it should affect the functionality.
You can swap back to the old implementation by disabling the Improved Shader Graph Generation in the Preferences:

For context, we refactored the Shader Graph integration for the VFX Graph in HDRP and are still working on doing the same in URP (thus the strange message). The refactor will bring the ability to use any HDRP/URP shader, without the need to specify the Visual Effect target, and allow you to use all of the SRP-specific material types and properties.

As mentioned, this is already the case for HDRP and we are working on it for URP.

7424750--908762--upload_2021-8-17_11-20-54.png

That is great thanks a lot

I’m using Unity 2021.2.7f1 and URP and the “Support VFX Graph” option is there, I enable it but it then doesn’t allow me to assign it to the “Shader Graph” field on a VFX graph output node.
Has support for this been dropped in URP?

Hi @SniperED007 ,

Just tried it and it seems to work fine:

Can you provide a bit more info on what issues you are encountering?

7782633--981984--l5iUfVEBsT.gif

wow, ok thanks, didn’t know I had to expand it out.
You should probably update this as it’s not clear that you have to do that.

Working with Shader Graph in the Visual Effect Graph | Visual Effect Graph | 12.1.2 (unity.cn)

  • In the interface for output contexts, assign your compatible Shader Graph to the Shader Graph property. The following output contexts support Shader Graphs:

For anyone following this thread, the documentation is a little confusing for me personally… I was having difficulty to see the option for a shader graph inside of my visual effect…

SniperED007 gives the link to the documentation, and at the very bottom is the TITLE: “Using a Shader Graph in a Visual Effect”.

There you see that under Edit > Preferences > Visual Effects > Experimental Operations/Blocks SET TRUE