#broken shader graph package

1 messages · Page 1 of 1 (latest)

daring nova
#

making a thread here

spice grotto
#

Good point

daring nova
#

so, make a new 3D project and see what happens

#

we want to see if there's any situation where the package compiles correctly

spice grotto
#

Here error
library/packagecache/com.unity.shadergraph@14.0.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?)

spice grotto
spice grotto
#

I'm creating a new 2d project right now

#

@daring nova it worked without the bug showing up

#

The thing is, why

#

Why would it show up in my project that was already made and not in the new one

daring nova
#

it's possible that some package in your existing project is causing the issue

#

(maybe not even the shadergraph package)

spice grotto
#

Anyway, I had an idea

#

What if I put all my assets in the new project

#

Wouldn't that pretty much be my project?

#

Yes it is!

daring nova
#

You could just slam the entire Asset folder in, yeah

#

All of the references will stay intact

#

because the .meta files are coming along for the ride

spice grotto
#

So I pretty much wasted my and your time, woops

#

Btw this error should be investigated, what even caused it

#

It is not the library or the assets

daring nova
#

It's a very interesting problem. You should back up the broken project before messing with it further

#

if you can figure out something that makes it go from broken to not-broken, then that'd be very helpful

spice grotto