(2021.3.1f1 + URP)
I’ve spent the last day or two pushing through the lag that seems to plague Shader Graph for medium to large graphs and, after attempting to address it all morning, I’m on about to go nuts. In the past few days I’ve hit the undo button just once (by accident) because the feedback loop of undo=lag is so strong that I’ve removed it from my workflow entirely. SG is becoming unworkable as a tool and none of the other node editors I’ve worked with have exhibited this level of lag.
Every single action takes about five seconds, including typing individual characters into the graph inspector. If I want to set a default value of “0.25”, that’s 5 seconds for the period, 5 for the two, and another 5 for the five. Changing connections to the main chain of nodes takes longer, slightly less for clusters on the edges of things. Every click on a gradient is another few seconds. New color, move position, every single click.
I thought at first it was the number of nodes on screen, but after moving most of my work to sub graphs, it’s seemingly unaffected. I then started stripping away all of the Register/Get variables from a node package I use, as well as the group colors for it. Both use hidden connections and nodes to simulate features that SG lacks. Reducing those had no affect either.
What is the current recommendation for avoiding this problem?
When I jump over to sub graphs or other networks, the difference is night and day. My mind starts flowing rapidly again and the algorithm unfolds at the same pace as my thoughts. When I switch to the main network, everything slams to a stop and I can’t keep my focus.
Click, wait… click click click wait… click click… click… click… all day long.
Including my current graph for reference as to the scale. A few cleanly established masks (distance, depth, etc.), and a number of remappings to apply effects through combinations of those masks. A few clusters are still prototypes and not organized as cleanly.
