#Why is my shader graph not saving changes?

1 messages · Page 1 of 1 (latest)

keen cape
#

after i press crtl + s, the asterisk is still there next to the file name and i notice that my changes dont take effect. If i press save asset or press save on the menu that pops up after i try to close the shadergraph window, i get the following warning in my console, and no changes are actually saved.

Shader Graph at Assets/Shaders/SG_BlackHole.shadergraph has 1 warning(s), the first is: Validation: Node behavior was changed. See inspector for details

keen cape
#

ok so i guess this warning is the issue since im using 2021.3, but i have no idea where to look because my graph is massive...

hidden verge
# keen cape ok so i guess this warning is the issue since im using 2021.3, but i have no ide...

That warning shouldn't prevent saving. Can fix it later by adding a Saturate or Absolute before any Power nodes.

I'm not sure the Validation one should prevent saving either, but it means you should check if there's any white boxes with "#" to the right of a node (or red with "!"). If you find one, click on the node to highlight it then check the Node Settings tab of the Graph Inspector window. It'll show the warning & update button if suitable.

Might be at the bottom in the Blackhole Mask group. Hard to tell from the screenshot quality.

zenith pagodaBOT
#

success @_546654_ muted

Reason: Sending too many attachments.
Duration: 29 minutes and 56 seconds

hidden verge
#

Can try replacing that node or click update button in Node Settings tab while the node is selected

#

In short it now is always normalised for you. (Would use View Vector node to access the unnormalised vector if needed)

keen cape
hidden verge
#

Then delete and recreate it

keen cape
#

nothing happens when i press delete

#

or any other button

hidden verge
#

Something is probably bugged then. Could try copying nodes to a new graph. If problems persist try updating Unity

keen cape
#

yeah creating a new graph lets me delete things now

keen cape
#

not sure exactly what im supposed to do

#

the docs are super minimal

hidden verge