Problems with 3dsmax + v-ray versions

I am having problems when I send a different task to the 2022 version of 3dsmax+v-ray, if I send a task in the 2022 version all the nodes work perfectly but when I switch to the 2021,2020 version these 2 do not work and they are installed in each node the same.

Error: FailRenderException : RenderTask: Unexpected exception (Failed to open the max renderer.
2022/09/17 15:24:31 DBG: [04776] [07336] Starting network
2022/09/17 15:24:31 INF: [04776] [07336] Application started with secure mode state 'OFF'
2022/09/17 15:24:31 INF: [04776] [07336] Python version: 3
2022/09/17 15:24:31 INF: [04776] [07336] Product version: 3ds Max 2021 (23.0.0.915)
2022/09/17 15:24:31 DBG: [04776] [07336] ADP Initialize: Done
2022/09/17 15:24:31 INF: [04776] [07336] Data collection and use is 'ON'. Change your participation anytime in the Help menu of 3ds Max.
2022/09/17 15:24:32 DBG: [04776] [07336] Could not find the specified file in DefaultSettingsParser::parse()
2022/09/17 15:24:36 DBG: [04776] [07336] Graphics driver requested by the user : Nitrous
2022/09/17 15:24:36 DBG: [04776] [07336] Graphics driver actually created in the viewports : null driver
2022/09/17 15:24:37 INF: [04776] [07336] Autodesk 3ds Max Security Tools is active via configuration settings
2022/09/17 15:24:37 INF: [04776] [07336] ALC Security Tool 1.0 loaded.  (c:\program files\autodesk\3ds max 2021\applicationplugins\securitytools\contents\scripts\ALC_SecurityTool.ms)
2022/09/17 15:24:37 INF: [04776] [07336] ALC2 Security Tool 1.0 loaded.  (c:\program files\autodesk\3ds max 2021\applicationplugins\securitytools\contents\scripts\ALC2_SecurityTool.ms)
2022/09/17 15:24:37 INF: [04776] [07336] CRP Security Tool 1.0 loaded.  (c:\program files\autodesk\3ds max 2021\applicationplugins\securitytools\contents\scripts\CRP_SecurityTool.ms)
2022/09/17 15:24:37 INF: [04776] [07336] ADSL Security Tool 1.0 loaded.  (c:\program files\autodesk\3ds max 2021\applicationplugins\securitytools\contents\scripts\ADSL_SecurityTool.ms)
2022/09/17 15:24:40 DBG: [04776] [07336] Starting network
2022/09/17 15:24:40 DBG: [04776] [07336] Calling NetRenderPreLoad
2022/09/17 15:24:40 DBG: [04776] [07336] in NetWorkerPreLoad. jobFile: ; jobname: C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max
2022/09/17 15:24:40 DBG: [04776] [07336] in Init. jobFile: ; jobname: C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max
2022/09/17 15:24:40 DBG: [04776] [07336] in Init. calling nrGetIface. jobToSend: C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max
2022/09/17 15:24:40 DBG: [04776] [07336] in NetWorkerPreLoad. curJobname: C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max; init: 0
2022/09/17 15:24:40 DBG: [04776] [07336] in NetWorkerPreLoad. calling PostInitMessageSystem()
2022/09/17 15:24:40 DBG: [04776] [07336] in NetWorkerPreLoad. srv_pid: 0
2022/09/17 15:24:40 DBG: [04776] [07336] leaving NetWorkerPreLoad. LoadLib()
2022/09/17 15:24:40 DBG: [04776] [07336] NetRenderPreLoad passed
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver requested by the user : Nitrous
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver actually created in the viewports : null driver
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver requested by the user : Nitrous
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver actually created in the viewports : null driver
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver requested by the user : Nitrous
2022/09/17 15:24:40 DBG: [04776] [07336] Graphics driver actually created in the viewports : null driver
2022/09/17 15:24:46 INF: [04776] [07336] Initializing Python version: 3.7.6
2022/09/17 15:24:46 INF: [04776] [07336] SYSTEM: Production renderer is changed to Arnold. Previous messages are cleared.
2022/09/17 15:24:46 DBG: [04776] [07336] Interface8::LoadFromFile(C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max)
2022/09/17 15:24:46 INF: [04776] [07336] Starting to load file: C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max
2022/09/17 15:24:46 DBG: [04776] [07336] WARNING: The Populate data is missing on your system.
2022/09/17 15:24:46 INF: [04776] [07336] Done loading file:  C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\jobsData\6325ca2960fd6a1d586bff55\maxStartup\0\deadlineStartupMax2021.max 
2022/09/17 15:24:46 DBG: [04776] [07336] Interface8::LoadFromFile(//ac-nas-01/Sergi/Benchmarks/3dsmax/v-ray/Tetera/2021.max)
2022/09/17 15:24:46 INF: [04776] [07336] Starting to load file: //ac-nas-01/Sergi/Benchmarks/3dsmax/v-ray/Tetera/2021.max
2022/09/17 15:24:46 INF: [04776] [07336] Done loading file:  //ac-nas-01/Sergi/Benchmarks/3dsmax/v-ray/Tetera/2021.max 
2022/09/17 15:24:46 INF: [04776] [07336] SYSTEM: Production renderer is changed to V-Ray GPU 6 Hotfix 2. Previous messages are cleared.
2022/09/17 15:24:47 ERR: [04776] [07336] [V-Ray] Could not read V-Ray environment variable "VRAY_FOR_3DSMAX2021_MAIN". Please re-install
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] ============================================================
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] Console created, V-Ray 6.00.08 for x64 from Aug  9 2022, 20:44:25
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] ============================================================
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] Compiled with Microsoft Visual C++ compiler, version 19.24
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] Host is 3ds Max, version 23
2022/09/17 15:24:47 INF: [04776] [07336] [V-Ray] V-Ray DLL version is 6.00.08
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_dr1.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_gpu_common.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_http_client.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_intel_utils.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_optix_denoiser.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_telemetry.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] Error getting library description "C:\Program Files\Autodesk\3ds Max 2021\vray_usd_provider_default.dll"
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] V-Ray RTEngine DLL not found.
2022/09/17 15:25:08 ERR: [04776] [07336] [V-Ray] 8 error(s), 0 warning(s)
)
   at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\plugins\6325ca2960fd6a1d586bff55\3dsmax.py", line 405, in RenderTasks
    self.MyMaxController.RenderTasks()
  File "C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\plugins\6325ca2960fd6a1d586bff55\3dsmax.py", line 1627, in RenderTasks
    self.RenderFrame(frame)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\plugins\6325ca2960fd6a1d586bff55\3dsmax.py", line 2524, in RenderFrame
    self.PollUntilComplete(not self.DisableProgressUpdateTimeout)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\ND-MEDIUM-01\plugins\6325ca2960fd6a1d586bff55\3dsmax.py", line 3000, in PollUntilComplete
    self.Plugin.FailRender("RenderTask: Unexpected exception (%s)" % e.Message)
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __FranticX_GenericDelegate0Dispatcher.Invoke()
   at Deadline.Plugins.DeadlinePlugin.RenderTasks()
   at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)
> [V-Ray] Could not read V-Ray environment variable "VRAY_FOR_3DSMAX2021_MAIN". Please re-install

Restart the windows nodes after installing, else the environment variables don’t get picked up. If you did this already you may need to re-install

1 Like

Yes, you were right with restarting the node it works, I have installed v-ray and arnold in different versions and sometimes they give errors but then it renders, I have to investigate a little more.

2 Likes