The issue was that the parent node group was not necessarily updated already when the tracing code ran. So use socket identifiers instead of indices to try to find corresponding sockets between group nodes and their corresponding node groups.
The issue was that the parent node group was not necessarily updated already when the tracing code ran. So use socket identifiers instead of indices to try to find corresponding sockets between group nodes and their corresponding node groups.