
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to use a custom plugin with dependency on an external DLL, but when I close the application, Maya freezes and I have to shut down it from the task manager.
This issue happened on Maya 2018 and 2016.
I can use the DLL normally in a standalone application, and the DLL is working as expected in the Plugin. The problem happens only when closing the application.
I do nothing special when unloading/loading the DLL, so I was expecting that to be entirely handled by Maya and/or the OS.
When I unload the plugin (via plugin manager), the DLL is not being unloaded. I can load/reload the plugin several times without any problems.
After I included the DLL in the project, I can not unload the plugin/recompile/load again. Visual Studio complains that it can not overwrite the MLL file.
(The checkbox is unchecked and I tried to flush the undo list, but the problem remains)
Before adding the DLL, this unload/recompile/reload process had no problems. I think it might be related to the Freezing issue.
Any ideas about what might be wrong?
Thank you.
Solved! Go to Solution.