AWS Thinkbox Discussion Forums

Max 2023 and Deadline 10.2.1 and Corona 9

Hello,

We are having issues with Max 2023 and Deadline 10.2.1 when trying to render with Corona.

Max 2021 works fine with Deadline and also with the latest Corona so i am suspecting the issue is with 2023 somewhere.

We have a very clean scene with just a box.

The error is quite generic:

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

Error: FailRenderException : RenderTask: Unexpected exception (Failed to open the max renderer.
2023/03/28 19:58:28 INF: [14124] [17184]
Not displaying the splash screen because 3ds Max is running in server mode.

Has anyone had similar issues?

If you start from the bottom of the task report and work backwards you should see where Max fails to open, then I’d expect to see some warnings or errors just before that.

If there’s nothing in the log then it might be that Max’s full error message isn’t making it back to the Worker before 3dsMax closes. In that case I’d go through the troubleshooting guide to separate the render out.

Hi Justin,

We have been working through a few issues. One is that we needed to include the environment variable to point to the max plugin folder which helps.

The error reporting becomes better as max actually loads the corona frame buffer but then terminates before rendering. This is the latest error message that is consistent across workers and different scene files:

2023/03/29 15:37:21 ERR: [14736] [16044] An unexpected exception has occurred in the network renderer and it is terminating.
2023-03-29 15:37:26: )
2023-03-29 15:37:26: at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
2023-03-29 15:37:26: File “C:\ProgramData\Thinkbox\Deadline10\workers\renderbox-98\plugins\6423be818a470d609d7f4741\3dsmax.py”, line 405, in RenderTasks
2023-03-29 15:37:26: self.MyMaxController.RenderTasks()
2023-03-29 15:37:26: File “C:\ProgramData\Thinkbox\Deadline10\workers\renderbox-98\plugins\6423be818a470d609d7f4741\3dsmax.py”, line 1627, in RenderTasks
2023-03-29 15:37:26: self.RenderFrame(frame)
2023-03-29 15:37:26: File “C:\ProgramData\Thinkbox\Deadline10\workers\renderbox-98\plugins\6423be818a470d609d7f4741\3dsmax.py”, line 2524, in RenderFrame
2023-03-29 15:37:26: self.PollUntilComplete(not self.DisableProgressUpdateTimeout)
2023-03-29 15:37:26: File “C:\ProgramData\Thinkbox\Deadline10\workers\renderbox-98\plugins\6423be818a470d609d7f4741\3dsmax.py”, line 3000, in PollUntilComplete
2023-03-29 15:37:26: self.Plugin.FailRender(“RenderTask: Unexpected exception (%s)” % e.Message)
2023-03-29 15:37:26: at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
2023-03-29 15:37:26: at __FranticX_GenericDelegate0Dispatcher.Invoke()
2023-03-29 15:37:26: at Deadline.Plugins.DeadlinePlugin.RenderTasks()
2023-03-29 15:37:26: at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
2023-03-29 15:37:26: at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
2023-03-29 15:37:26: at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
2023-03-29 15:37:26: RenderPluginException.Cause: JobError (2)
2023-03-29 15:37:26: RenderPluginException.Level: Major (1)
2023-03-29 15:37:26: RenderPluginException.HasSlaveLog: True
2023-03-29 15:37:26: RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-renderbox-98-0000.log
2023-03-29 15:37:26: Exception.TargetSite: Deadline.Slaves.Messaging.PluginResponseMemento d(Deadline.Net.DeadlineMessage, System.Threading.CancellationToken)
2023-03-29 15:37:26: Exception.Data: ( )
2023-03-29 15:37:26: Exception.Source: deadline
2023-03-29 15:37:26: Exception.HResult: -2146233088
2023-03-29 15:37:26: Exception.StackTrace:
2023-03-29 15:37:26: at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
2023-03-29 15:37:26: at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
2023-03-29 15:37:26: at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)
2023-03-29 15:37:26: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023-03-29 15:37:28: Scheduler Thread - Job’s Limit Groups:

Any ideas?

Just another thing to mention - I have successfully test rendered locally and then sent the same job via deadline to the same workstation and that job failed with the same error as above.

Just trying to rule out any issues with the renderer, plugins, mappings, etc.

I sent via a 3DS Command job and it is rendering. So it is something with the SMTD submission.

Hi Justin,

Sorry for all the continuous replies. I just wanted to let you know that we managed to fix the issue. It was an assets in the scene called a .tx file that was causing the problems. It was strange that it rendered locally with this asset as well as using 3DS cmd.

Now that it is removed all of our scenes are rendering.

1 Like

That’s really strange, I have to assume there’s some failure with the dll we use to start and communicate with 3dsMax as usually if 3dsCMD works it’s because the batch mode is failing the task on some error handling. But that’s not what’s happening to you here.

I’m glad you figured out the .tx file, if you’re able to could you share how you found that? Might help someone else in the future. :smiley:

Privacy | Site terms | Cookie preferences