Error installing shader graph

When installing shader graph into my already existing project I get this error I have tried on many different projects, switched from a older to a newer version, but nothing has worked. The errors looks like this the main one is the one selecting in blue the others just clear away(I think it has something to do with a missing import):

Library\PackageCache\com.unity.shadergraph@12.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: ‘Material’ does not contain a definition for ‘rawRenderQueue’ and no accessible extension method ‘rawRenderQueue’ accepting a first argument of type ‘Material’ could be found (are you missing a using directive or an assembly reference?)

Please help I have spent ages trying to figure it out myself and the answer.unity page didn’t help as no one responded.

Do you have URP or HDRP installed?

Yes I have URP but it happens even without it installed.

Maybe try to delete the Library folder to have everything reimported?

I have done that and it didn’t work.

Do you have any graphs with the built-in output?
Otherwise I’m out of ideas

I’m not using shader graph I just have to install it as its a dependency of URP package. Do you know how to install an older version of a package as that might be able to help myself.

I am currently having the same exact issue. I have yet to find a solution either, which is really frustrating since it block you from using URP or HDRP in any project. If I figure anything out though I will be sure to post it here.

Yeah its so annoying, because I have gone back versions of Shader Graph and had no issues. Hopefully Unity will release a patch or fix the bug soon.

Did you make a bug report? If not, it probably won’t be fixed

No actually I just put it on here. Forgot to do that actually will do it when I get back from holiday. Thanks for reminding me.

Just about to test the new shadergraph version that has released really hoping that works, also using it on a brand new unity version and install.

didnt work

Then make a bug report with that version so it can be fixed

I tried the big reporter was only 3% through packing after 3 hours and hadn’t crashed and I have a good system, ryzen 5600x and rtx 3060, 16gb ram

Weird. Which unity version was this?

I noticed that I had a file missing in Library\PackageCache\com.unity.shadergraph@12.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\ could you send a zip of that folder please.

2021.3.16f1 and the project is about 5.5gb but i had like 15mb/s upload at the time

do u have discord so it is easier to talk jspr#8732

Ahh that explains. I’m not sending a zip. If you make a new project and import the packages or make a new URP project it will automatically install everything. If not, reinstall unity

I have created a new project and used multiple unity versions i am lost