Hi, it’s Marcin from the Corona team here. I successfully reproduced what KenC is reporting:
-
When opening the scene locally and running the script, it is working as expected, but I had to start 3ds Max as administrator (!) in order for it to successfully save the output file. Otherwise I was getting the below error message in 3ds Max:
-
I did not manage to get it working when submitting the job to Deadline. I tried with various settings, but it always fails. The rendering does start, but the output file is never saved to disk. The error I am getting when the rendering shows up on screen but does not get saved is:
2024-02-08 14:53:19: 0: INFO: >Done Scanning Renderer Paths.
2024-02-08 14:53:19: 0: Done executing plugin command of type 'Start Job'
2024-02-08 14:53:19: 0: Plugin rendering frame(s): 0
2024-02-08 14:53:19: 0: Executing plugin command of type 'Render Task'
2024-02-08 14:53:19: 0: INFO: Render Tasks called
2024-02-08 14:53:19: 0: INFO: Executing script: C:\ProgramData\Thinkbox\Deadline10\workers\xxx\jobsData\65c4dc994c0b6a91f1d82930\new.ms
2024-02-08 14:53:24: 0: WARNING: Monitored managed process 3dsmaxProcess is no longer running
2024-02-08 14:53:24: 0: Done executing plugin command of type 'Render Task'
2024-02-08 14:53:24: 0: Executing plugin command of type 'End Job'
2024-02-08 14:53:24: 0: INFO: End Job called - shutting down 3dsmax plugin
2024-02-08 14:53:24: 0: WARNING: 3ds Max was shut down before the proper shut down sequence
2024-02-08 14:53:24: 0: INFO: Disconnecting socket connection to 3dsmax
2024-02-08 14:53:24: 0: WARNING: The 3ds Max process has already quit
2024-02-08 14:53:24: 0: Done executing plugin command of type 'End Job'
2024-02-08 14:53:28: Scheduler Thread - Render Thread 0 threw a major error:
2024-02-08 14:53:28: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2024-02-08 14:53:28: Exception Details
2024-02-08 14:53:28: RenderPluginException -- Error: RenderTask: Unexpected exception (Monitored managed process "3dsmaxProcess" has exited or been terminated.
2024-02-08 14:53:28: )
2024-02-08 14:53:28: at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
2024-02-08 14:53:28: RenderPluginException.Cause: JobError (2)
2024-02-08 14:53:28: RenderPluginException.Level: Major (1)
2024-02-08 14:53:28: RenderPluginException.HasSlaveLog: True
2024-02-08 14:53:28: RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-xxx-0000.log
2024-02-08 14:53:28: Exception.TargetSite: Deadline.Slaves.Messaging.PluginResponseMemento d(Deadline.Net.DeadlineMessage, System.Threading.CancellationToken)
2024-02-08 14:53:28: Exception.Data: ( )
2024-02-08 14:53:28: Exception.Source: deadline
2024-02-08 14:53:28: Exception.HResult: -2146233088
2024-02-08 14:53:28: Exception.StackTrace:
2024-02-08 14:53:28: at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
2024-02-08 14:53:28: at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
2024-02-08 14:53:28: at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)
2024-02-08 14:53:28: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Considering the above, is it possible that everything is generally working as it should, but the output cannot be saved because of some access rights issue? In other words, could the error that appears in Deadline be the same “Image I/O Error” which appears in 3ds Max when it is not running as administrator?
Is there a way to force 3ds Max + Deadline to run as administrator when submitting jobs? I tried enabling “Run as Administrator” in Windows for Deadline Monitor and Worker and for 3ds Max, but that didn’t help.
