When I run the publisher to publish nukeNodes and the workfile, it succeeds, but the connections in my graph break. In this case, the connection between the Read and the Merge disappeared after publish:
This behavior is unfortunately quite inconsistent. It seems like if I reopen the workfile then I often don’t get the same bug again. Also, if I only publish the nukeNodes and not the workfile then it also seems to usually work without breaking the connections.
I’m not sure yet, where the issue is coming from. I didn’t dig deeper.
But, it could be related to some logic that works with selected nodes or restoring connections.
Sorry about the long delay on this, and thatnks for your reply, Mustafa. It does seem that there’s something funky about the selection behavior that causes the graph to rewire during publish.
Is this something that we should create an issue for in ayon-nuke? I assume it could be fixed by adding a step to deselect all nodes at the start of publishing, but it might be worth a deeper look to understand the problem better.