Why does the shader editor keep stopping updating nodes?

It’s not the first year I’ve noticed this, and it’s not related to the version of Unity or the complexity of the shader (in terms of the number of nodes), it happens even 30 seconds after creating a new shader graph with 3 nodes. Simply during operation, the nodes will stop updating, because of which they become like stones, they cannot even be turned, and quite often the already loaded results of the nodes retain their initial value, so it is often not immediately noticeable that the editor has stopped updating (quite often this spends a lot of time looking for shader failure errors that don’t exist). Sometimes this is quite expected, for example, when changing a node, auto update is activated and if you press cntrl s, it will prevent the update and everything will stop; and sometimes it just happens because you move nodes or change parameters.

Unfortunately, I know of only one (bad but effective) way to temporarily solve this problem, which is to enable UI Toolkit Live Reload and then disable it after reboot (if you don’t disable it, the crash will happen sooner or later anyway, and faster than with the option disabled ). I understand it forces a restart of all graph renderings, but it takes a long time. Below is a video of an example, I’ve been watching it for over a year now. I repeat, it does not even depend on the number of nodes…

After each such “rite” as shown in the video, I can work calmly for a few minutes, or the entire compilation will crash as soon as I switch from the editor tab to the scene tab. Does anyone know any solutions?

Hi @OlehBur, did you report this as a bug already?
If not please do and share the ticket number.
Also, please provide as much detail as you can, I’m not sure of what I’m looking at in the video.

Thanks!

In the video, I tried to show that my shader graph (absolutely any) constantly stops updating automatically and becomes “gray” (as in the photo) and also untouchable (I can’t expand nodes or minimize). To update it again, I need to automatically turn on the UI Toolkit Reload by clicking on the tab and then turn it off. The whole process is shown in the video, it’s just turning it on and off, which takes a lot of time because the entire shader is “overloaded” and recompiled, as it were.

1 Like

And as for reporting it as a bug, no, I didn’t report it because I think it’s some kind of limitation problem on underpowered devices or something. Since I’ve been seeing this for several years, starting with version 2022.3.15 and ending with 6.0.