Vray DBR doesn't work with Submit to deadline 3dscmd

Hi,

I’m using Deadline 10.0.4.1 and Vray 6.

Error: Error: V-Ray DBR: V-Ray Spawner executable does not exist: C:\Program Files\Autodesk\3ds Max 2025\vrayspawner2025.exe
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

It seems Vray spawner does not exist in this location anymore.

The Vray installer drops it in.
C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2025\bin\vrayspawner2025.exe

How can I update Deadline to launch from here instead?

I have also tried to launch a spawner job from the Monitor

I’ve updated VraySpawner.param to include

[VRaySpawnerExecutable_Max2025]
Type=multilinemultifilename
Label=3ds Max 2025 Spawner Executable
Category=V-Ray Spawner Executables for 3ds Max
CategoryOrder=0
CategoryIndex=7
Default=C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2025\bin\vrayspawner2025.exe
Description=The path to the V-Ray Spawner executable file for 3ds Max 2025. Enter alternative paths on separate lines.

I’ve updated VraySpawnerSubmission.py to include 2025

elif selectedPlugin == "3ds Max":
    scriptDialog.SetEnabled( "VersionLabel", True )
    scriptDialog.SetEnabled( "VersionBox", True )
    scriptDialog.SetItems( "VersionBox", [ "Select One", "2025" ] )

This enables me to submit a VraySpawner job from the Monitor, however I get this error

=======================================================
Error

Error: No method matches given arguments for DeadlinePlugin.LogStdout: (<class ‘bytes’>) (Python.Runtime.PythonException)
File “C:\ProgramData\Thinkbox\Deadline10\workers\Render-22\plugins\675aec480537d23e2910dd28\VraySpawner.py”, line 181, in GetSpawnerLog
self.LogStdout( b"SPAWNER: " + re.sub(br’.[.]\s{4}‘, b’', lines[i], 1 ) + b"\n" )
File “C:\ProgramData\Thinkbox\Deadline10\workers\Render-22\plugins\675aec480537d23e2910dd28\VraySpawner.py”, line 161, in RenderTasks
spawnerLogFileLoc = self.GetSpawnerLog( spawnerLogFile, spawnerLogFileLoc )
at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1726863100822\work\src\runtime\PythonException.cs:line 53
at Python.Runtime.Dispatcher.TrueDispatch(Object args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1726863100822\work\src\runtime\DelegateManager.cs:line 242
at Python.Runtime.Dispatcher.Dispatch(Object args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1726863100822\work\src\runtime\DelegateManager.cs:line 208
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)
---------- Inner Stack Trace (Python.Runtime.PythonException) ----------

at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

That’s a really old version of Deadline, are you geting py2/3 errors?

I’m using the latest version 10.0.4.1

It seems that the 3dsCmd submitter and the VrayDBR functions haven’t been updated for sometime.

Take a look in the monitor and you will see that the latest version of Max in the selection list is Max 2020

10.4.0.10, the right notes just in the wrong order :wink:
https://docs.thinkboxsoftware.com/products/deadline/10.4/1_User%20Manual/manual/release-notes.html#deadline-release

I’m pretty sure it’s possible to get this working, if I get 5 mins I’ll have a check and upload a updated file

Haha, I see.

Thanks for taking a look. Maybe this is why my other posts aren’t getting responses too!

I’d really appreciate it if you took a look at my other post too.
(3dscmd Deadline Submitter not updating frame range.)

Fix was in here, vrayspawner.py attached has the update, replace this in
DeadlineRepository10\plugins\VraySpawner\VraySpawner.py
VraySpawner.py (18.0 KB)

This works, thank you!

Will this makes it into the next Deadline release?

2 Likes

@anthonygelatka @RenderDan Hi, are you getting this error when submitting 3dsmax SMTD?
The DBR fix worked but my 3dsmax crashed randomly after every submission, is it the same for you guys?
error

No problems here, but I am using Max2025 perhaps it is optimised for this version?

1 Like