
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all,
We've created a .net (C#) plugin linked against the 2016 version of the Maya SDK (openmayacs.dll).
We've experienced the following:
- on some machines with Maya 2016, 2017 and 2018, the plugin with load AND RUN on all versions of Maya.
- on other machines, the plugin will not load on the appropriate version of Maya, with the following error:
// Error: file: C:/AW/Maya2016/scripts/others/pluginWin.mel line 781: Invoking ExecuteInDefaultAppDomain() failed. //
# Error: pymel : Failed to get controlCommand list from ProjectA.PluginA #
# Error: pymel : Failed to get modelEditorCommand list from ProjectA.PluginA #
# Error: pymel : Failed to get command list from ProjectA.PluginA #
# Error: pymel : Failed to get constraintCommand list from ProjectA.PluginA #
# Error: pymel.core : Failed to get depend nodes list from ProjectA.PluginA #
// Error: file: C:/AW/Maya2016/scripts/others/pluginWin.mel line 781: (ProjectA.PluginA.nll) //
In addition to this, we have also noted that .net plugins linked against newer versions of the MayaSDK will run on older versions of Maya. IE: linking against MayaSDK 2017 (openmayacs.dll) will run on Maya 2016.
My assumptions have been, since we're loading this assembly, it's fairly indifferent as to what version of the SDK you're linked against. But that feels dangerous.
What I'm looking to find out are:
- Are my assumptions about loading the assembly correct?
- How do I enable maya to spew what's actually the problem when it won't load the assembly. I'm assuming that it's missing a dll of some sort, but all essential dll's have been provide.
Thanks for your responses.
Solved! Go to Solution.