Sdf.Layer.CreateNew() hangs maya 2020 on exit #1270
Unanswered
DanEnglesson
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi Dan, I tried to reproduce your issue with what's currently in the dev branch + Maya 2020 + USD 20.11 on Windows and I'm not getting any hangs. Would it be possible for you to try the latest version of the plugin? Cheers, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm testing out USD 20.11 in Maya 2020 on Windows 10 and stuff seems to work nicely apart from when closing the Maya session. When trying to close Maya it just hangs and you need to force close it.
I've been able to narrow it down to Maya not releasing one of my layers properly. If I do a Sdf.Layer.CreatNew() call Maya seems to take ownership of the layer pointer. I would expect to be able to release the layer when I'm done with it and go on my merry way, but seems like Maya still keeps it. I would expect to be able to do the following simple test in the python script editor.
Example:
Run this in Maya 2020's script editor and then quit Maya, it hangs and I have to kill the process manually.
The output I'm getting is showing that the layer is removed but still Maya hangs on exit. Is this expected?
TF_DEBUG Output:
Environment:
USD: 20.11.0
MayaUSD: 0.5.0
Maya: 2020
OS: Windows 10
Has anyone run into the same issue or something similar?
Any help would be much appreciated.
Many thanks,
Dan
Beta Was this translation helpful? Give feedback.
All reactions