+2
Fixed

Slow to open shaders

zoltan erdokovy 11 years ago updated by Freya Holmér (Developer) 10 years ago 7
In certain cases it takes a really long time to open shaders.
A few stats for unlit shaders:
50 Abs nodes in a long chain.28 secs
72 nodes, all kinds.
175 secs
25, all different arithmetic nodes in a chain.
415 secs
I'm still on v0.20 but it's been a problem since the beginning.

Answer

Answer
Fixed
This has now been fixed in Beta 0.35 :)
It's a bit of a mess. I'll look into this at some point
After turning off automatic preview generation everything sped up considerably. The last case in the table above now loads in ~25 seconds.
Yeah. There is a bug when loading shaders, where it evaluates unnecessary amounts of nodes, some that have already been evaluated, so, if anything, it confirms my theory :)

Glad it's faster now anyway!
Just wanted to say I have this issue too. I just passed 120 nodes on a shader it it takes a LONG time to open.
This is affecting me heavily as well.  I have shaders that reproduce the lightmapping in Unity, and needless to say, its crazy time consuming to open the shader.
Answer
Fixed
This has now been fixed in Beta 0.35 :)