I’m not sure I would recommend this workaround, Maya itself may stop working (well, if you have uninstalled 2020, then it “should” be fine)
It sounds like somehow your PATH variable was wrong, I don’t know what may have caused this.
But glad you have a working solution! Thanks for sharing!
I think AD broke something with Maya 2022, looking around forums, it happened to Renderman,and some other plugins. Been using Maya since 2005 and haven’t seen this one before!
As soon as V-Ray is released anyway and VRayScatter, no need for Maya 2020!
Hi @yolov , thanks for the comprehensive answers.
My mistake with the drivers was that I always looked at the STUDIO driver instead of GAME one, Now I am on recommended game driver 461.09 and I am getting much, much less CUDA fatal errors than before. Still happens from time to time, mind you.
btw I usually don’t have much proxies / displacement in my scenes. When I do, it means the scene is big and I have to go CPU for this reason anyway.
I am using the zip installation method and V-Ray won’t load. The plugins are listed in the plugin manager but when I try to load them, I get the following error:
// Error: file: C:/Program Files/Autodesk/Maya2020/scripts/others/pluginWin.mel line 317: Unable to dynamically load : Z:/Vray/vray_adv_51020_maya2020_x64/maya_vray/plug-ins/vrayformaya.mll
The specified module could not be found.
//
// Error: file: C:/Program Files/Autodesk/Maya2020/scripts/others/pluginWin.mel line 317: The specified module could not be found.
(vrayformaya) //
I noticed that the folder …/maya_root now only contains the modules folder. The folders bin and plug-ins are now …/maya_vray/… as far as I can tell.
Is this this correct?
Yes, there are changes to the installation layout. Maya_root only hold the render_desc.xml now and all v-ray related files are in maya_vray.
We’ve uploaded the changes to our docs, so it’s best to refer to the correct setup for zip builds here: V-Ray for Maya
Can you get me the V-Ray version from the V-Ray menu > about (it’s also printed in the output window where it says initializing vray).
Can you also get me the Maya version?
Can you check if you have other Maya versions installed?
Can you get me the contents of the PATH variable?
You can do this from a windows command prompt by just typing set PATH and copy the result here.
If you’re more comfortable, you can use the windows environment variable editor (start menu > search for environment)
looks like i get an xGen issue. But there is no xgen in this scene. just a sphere.
// Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/pluginWin.mel line 316: ImportError: file C:\Program Files\Autodesk\Maya2022\vray\scripts\vray\plugin.p y line 9: Module use of python37.dll conflicts with this version of Python. //
// Warning: file: C:/Program Files/Autodesk/Maya2022/scripts/others/pluginWin.mel line 316: Failed to run file: C:/Program Files/Autodesk/Maya2022/vray/plug-ins/xgenVRay.py //
Are you using the zip builds?
Can you try and change the order of Z:/Vray/vray_adv_51020_maya2020_x64/maya_vray/bin/hostbin and Z:/Vray/vray_adv_51020_maya2020_x64/maya_vray/bin? bin/hostbin must be set before bin/
I’ll need to pass this on to the devs.
In the meantime - is there any particular reason you need to run 2022 with python 2? AFAIK 2022 only supports python 2 with an env variable for legacy compatibility, but by default uses python 3.