-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when loading / viewing an existing nodegraph into graph editor - related to swizzle node upgrade process #1940
Comments
This sounds like a good catch, @jhubertubisoft! Do you have an example MaterialX document that demonstrates this behavior? We've tested our upgrade process with a wide variety of documents containing |
A simpler way to test where the issue may reside is to run the If this does not pass then the upgrade logic sounds like the issue. Otherwise it could be an editor issue. |
Here is one on the files I have trouble with. |
This certainly looks like a bug somewhere in the swizzle upgrade code to me - comparing before/after snippets for the 1.38 -> 1.39 upgrade for this document look like this... 1.38
1.39
It looks like the generated |
Good catch, @ld-kerley, and that looks like a straight-up bug in our version upgrade logic. This would definitely be worthwhile to address for 1.39.1, and I can also take a look if you don't get to it first. |
I've written up a fix for this and am validating it now. Thanks for posting this issue, @jhubertubisoft, and it is indeed a case we'd never encountered in our repository before. The novel case was a |
The fix for this issue has been posted as #1945. |
Excellent. Thanks everybody for the quick answer / fix. Have a nice day. |
I try to load an existing nodegraph into graph editor.
Crashes when double clicking to open the node graph.
If I work around a crash in node display then I end up on a throw "cyclic dependency detection"
If I remove the swizzle nodes from the graph, everything is fine.
I suppose swizzle nodes upgrade process ends up in creating cycles ?
The text was updated successfully, but these errors were encountered: