- Home /
Unity VFX Graph won't open after using it as subgraph.
Description of problem
I'm using the Universal Render Pipeline (URP) and when I go to open one of my VFX graphs after adding it to another graph as a subgraph it suddenly won't let me open the subgraph and just gets stuck in an infinite loop going between "Collecting dependencies" and "Saving shaders" whenever I try.
Has anyone experienced this bug before? Any suggestions on where I can find log files to try and find out what's going on or suggestions on how I might fix it?
Already tried:
Duplicating the vfx graph and removing the old one, it fixes it til I re-add it as a subgraph then it breaks again.
Reimporting all sub graphs and the main graph.
Remaking the vfx graph that uses the broken ones as sub graphs.
Restarting Unity/my PC.
Reinstalling VFX graph package.
Looking for the problem in the Unity Editor logs.
Extra Info:
Unity version: 2021.1.12f1
Visual Effects Graph version: 11.0.0
Hello I encountered this problem today, did you manage to solve this? Or do you have any additional info?
I solved this issue by moving the main graph and all subgraphs into the same folder. It would be a really good idea to file a bug report I never got around to it becase moving them all to the same folder solved it for me and I just kept going on my project but it is an annoying bug that should be addressed.
Answer by Crazycarpet · Jul 24, 2021 at 03:29 PM
I solved this issue by moving the main graph and subgraphs into the same folder. Seems like a bug that should be addressed though.
Do you know the way to reproduce this bug? I can report it or something, but I don't know how to reproduce this. Or do you have simple example that can be sent to Unity and does not violate any conditions in your work?
I will take some time tomorrow and try to make a project that I can submit that reproduces the issue.
Since i fixed it by having all graphs in the same folder I will try the main graph in one folder and the subgraphs in a different folder in a subfolder aswell. (MainFolder - > MainGraph) (SubFolder - > SubFolder2 - > Subgraphs)