Summary

Title:Loading Maya Ornatrix v3 plug in unloading Maya's mayaUsdPlugin.mll
Category:Crash/Critical
Status:Fixed
Posted By:teddude75 ( Edward R Conry )
Date Created:27 July 2021

Problem

Description:

I check ornartrix plugin and restart maya and mayaUsdPugin.mll is unchecked and crashes when laoded

Steps to Reproduce:

delete prefs

open maya

go to plugins and enable ornatrix (mayaUsdPugin.mll will be enabled by default)

restart maya

mayaUsdPugin.mll will be disable and when trying to load it Maya crashes

Hi,

Please try the latest build. If the problem persist, go to x:\Program Files\Ephere\OrnatrixMaya2022\plug-ins\procedurals\ and remove the file Ephere.Ornatrix.ArnoldProcedural6.2.dll.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I have the lates build. I deleted Ephere.Ornatrix.ArnoldProcedural6.2.dll. and it didn't help. I ran into a simular problem with multiverse that was sourcing USD in it's build and would not load <span>mayaUsdPugin.mll at the same time. Could that be the problem?</span>

Thank you for trying. I will investigate this and get back to you soon. 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

The crash happens if you load Maya with USD disabled and Ornatrix on Autoload?

This is what I tried:

Set Ornatrix to autoload and load the USD plugin manually. 

Set both plugins to autoload.

Both disabled autoload and load them manually. 

It doesn't crash here in any of those tests. 

Do you have any update on top of Maya? What OS are you using? 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I'm sorry it's Maya 2022 on windows 10. Set both plugins to autoload.= crash right away

Set Ornatrix to autoload and load the USD plugin manually. and Both disabled autoload and load them manually.  = mayaUsdPlugin gives error Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/pluginWin.mel line 316: initializePlugin function failed (mayaUsdPlugin) and then crashes

I managed to get the error but it doesn't crash. We will keep investigating. 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

I also get the error

// Error: line 1: initializePlugin function failed (mayaUsdPlugin) // 

whenever I load mayaUsdPlugin after Ornatrix, but I don't get a crash after that. Also, if I try once more to load mayaUsdPlugin, it prints many warnings about double registering of resources, but doesn't print that error and seems to work.

On the other hand, if I load mayaUsdPlugin first and Ornatrix second, there are no errors. Can you try that on your end? Is it an acceptable workaround?

We are aware of the problems caused by loading multiple copies of the USD library within the same process and are working on ways to solve or avoid them, but it will take time.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

We found the problem with mayaUsdPlugin, it was simpler than we thought. The next nightly build (28415 or later) should fix it.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Nope. I tried everything. I updated to Maya 2022.1 and it still didn't work. If I load USDMayaPlugin first and ornatrix second it doesn't crash but when I reopen it crashes. I removed ominverse also. It's maya USD extension 0.10.0. and the latest Ornatrix. I'll just leave it. I can't find a solution. 

I tried it as a different user with with defualt prefences and it still didn't work.

Did you try build 28415 or later?

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

It's 3.2.5.28399

Yes, there is no workaround for the current stable build, sorry about that.

You need the next nightly build, but it's taking longer to prepare as we are having some problem with our build nodes.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

it worked with build v3.2.5.28448. Thanks to everyone at ornatrix