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.
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.
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.
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