Environment Variables
← Back to main +Documentation

Here you can find useful environment variables that you can use with Multiverse | USD:
Environment Variable
Meaning
MV_RENDER_FILES_PATH

When rendering, Multiverse generates some USD files, by default they are located on your O/S location for temporary files, though you should really consider them as assets needed for rendering (they are present in the rendering scene description).
This variable, if defined and valid, allows you to specify where to write these files. It may be useful to set this manually if you are rendering on the farm whether within Maya batch or directly from the renderer (.ass, .nsi, .rib .vrscene…)
MAYA_ALLOW_OPENGL_REMOTE_SESSION=1
If you are running Maya under a remote desktop session, setting the the Maya VP2 mode to OpenGL in the Maya preferences is not sufficient, and Maya will still by default run under DirectX and therefore Multiverse will produce a current drawing API isn't supported error. To workaround this you must also set this environment variable.
  • NOTE — This variable is working only for the following Maya versions: Maya 2020.0+, Maya 2019.3.1+,  Maya 2018.7+

In addition this is an explanation for the environment variables needed to setup a correct environment. They are set by the graphical installer (Windows) and by the the Shell.bat (Windows) Command Prompt script and Shell.bash (Linux and macOS) Terminal script:
Environment Variable
O/S
Meaning
MV_ROOT

Location of the Multiverse installation folder
MAYA_MODULE_PATH

Tells Maya where to find Multiverse plug-in
PATH

Where to find Multiverse’s binary utilities.
On Windows only also tells where to find Multiverse’s libraries
PYTHONPATH

Where to find Multiverse Python modules
USD_PLUG_IN_PATH

Where to find USD plug-ins (such as Alembic)
DYLD_LIBRARY_PATH
macOS only
Where to find Libraries to load dynamically on macOS
LD_LIBRARY_PATH
Linux only
Where to find Libraries to load dynamically on Linux
ARNOLD_PLUGIN_PATH

Where to find Arnold procedurals from Maya or Arnold standalone
VRAY_PLUGINS

Where to find VRay procedurals from VRay Standalone
VRAY_FOR_MAYA2018_PLUGINS
VRAY_FOR_MAYA2019_PLUGINS
VRAY_FOR_MAYA2020_PLUGINS

Where to find VRay procedurals from VRay for Maya (each version).
RFM_PLUGINS_PATH

Where to find Rendeman procedurals
See also:
 
+Windows installation 
+macOS installation 
+Linux installation