Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What version of mtoa is compatible with maya 2018.2 or why will it not load?

4 REPLIES 4
Reply
Message 1 of 5
ereiam
572 Views, 4 Replies

What version of mtoa is compatible with maya 2018.2 or why will it not load?

I am running Maya2018.2 on Windows10 (on two different machines: one workstation and one server). I use Maya2018.2 interactively on the workstation and all was working well. I needed to update to Maya2018.2 (non-interactive) on the server. I had been running Arnold though the "Arnold_SDK_2018_5.0.1.0-windows" which I had in my home directory. Until yesterday, that had been working. I tried a different way of rendering and got errors loading the scene that seemed related to the fact that my scene was created in 2018.2 and I was trying to open with 2018. I tried to update me workstation and server to the same of everything: Maya2018.2 and mtoadeploy from "MtoA-2.1.0.3-2018" which seems like it should work...

(in maya "about -c" returns 201711281015-8e846c9074 and "about -iv" returns 2018.2)

However, I am not able to load mtoa on either machine now. I get the same errors on both when trying to load mtoa into an empty scene (not sure what AiColorManagerGetNumFamilies is but it seems to be missing):

evalDeferred "shaderBallRendererMenuUpdate"; // Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been registered already. // // Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been saved already. // // Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been registered already. // // Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already. // // Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been registered already. // // Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been saved already. // # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiColorManagerGetNumFamilies' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiColorManagerGetNumFamilies' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiColorManagerGetNumFamilies' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiColorManagerGetNumFamilies' not found # import arnold # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiColorManagerGetNumFamilies' not found # // Error: Failed to import python module 'arnold' // evalDeferred "shaderBallRendererMenuUpdate"; // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: initializePlugin function failed (mtoa) //

4 REPLIES 4
Message 2 of 5
Stephen.Blair
in reply to: ereiam

Why Arnold_SDK_2018_5.0.1.0-windows? You need MtoA, not the Arnold SDK.

Those errors mean that an older Arnold version is being loaded. Mostly likely, you have the location of an older Arnold version in the PATH env var



// Stephen Blair
// Arnold Renderer Support
Message 3 of 5
ereiam
in reply to: ereiam

@Stephen Blair

Got it. That was the config on my server and it was working but perhaps that is just confusing right now.

If I just focus on my workstation to remove that server variable, I am still getting that same error. Is MtoA-2.1.0.3-2018 the correct version for Maya2018.2? If so, then I am not sure what the problem is because I have that in my path. I installed it to C:\solidangle\mtoadeploy\2018 (as happens by default) having moved my prior installation aside to 2018-Copy before I started. So, since this was working before, that would indicate that the paths are correct. Hence my question about what the correct version of mtoa should be for Maya2018.2.

Thanks in advance for any help you can offer.

Message 4 of 5
ereiam
in reply to: ereiam

@Stephen Blair

Went back and checked and you were right. On my workstation, I did have a bad entry in my path. I've removed it, rebooted, and my workstation is working.

My server is not, however, I have the correct path and am no longer referring to the SDK anywhere. I am getting an error that includes

===============

Result: X:/stage/20180308_BY634/maya_project/scenes/walk_around_v2.mb 00:00:00 2143MB WARNING | hairPhysicalShader_shaders.dll was compiled against non-compatible Arnold 5.0.2.4 00:00:00 2143MB WARNING | lookdevkit_shaders.dll was compiled against non-compatible Arnold 5.0.2.4 00:00:00 2143MB WARNING | mtoa_shaders.dll was compiled against non-compatible Arnold 5.0.2.4 00:00:00 2143MB WARNING | renderSetup_shaders.dll was compiled against non-compatible Arnold 5.0.2.4 00:00:00 2143MB WARNING | synColor_shaders.dll was compiled against non-compatible Arnold 5.0.2.4 00:00:00 2143MB WARNING | [metadata] (C:/solidangle/mtoadeploy/2018/plug-ins/mtoa.mtd:2884) Node entry does not exist 00:00:00 2143MB WARNING | [metadata] (C:/solidangle/mtoadeploy/2018/plug-ins/mtoa.mtd:2891) Found attribute outside a node 00:00:00 2143MB WARNING | [metadata] (C:/solidangle/mtoadeploy/2018/plug-ins/mtoa.mtd:2894) Found attribute outside a node 00:00:00 2143MB WARNING | [metadata] (C:/solidangle/mtoadeploy/2018/plug-ins/mtoa.mtd:2897) Found attribute outside a node 00:00:00 2143MB WARNING | [metadata] (C:/solidangle/mtoadeploy/2018/plug-ins/mtoa.mtd:2900) Found attribute outside a node

===============

It would seem that I was including 5 dlls

hairPhysicalShader_shaders.dll

lookdevkit_shaders.dll

mtoa_shaders.dll

renderSetup_shaders.dll

synColor_shaders.dll

indirectly and they are not being found. These are in C:\solidangle\mtoadeploy\2018\shaders as you probably know. I know how to pass this location to kick as an option but how do I pass that to the Maya2018.2 "Render" command along with the renderer. Will google that but I think this is the bit I did not have and this would work if I had it.

Thanks

Message 5 of 5
ereiam
in reply to: ereiam

Thought I had it. Tried

-ai:spsh "C:\solidangle\mtoadeploy\2018\shaders"

(with and without quotes on the path) but that did not help. Also tried

-ai:sppg "C:\solidangle\mtoadeploy\2018\shaders"

but no luck either.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report