AWS Thinkbox Discussion Forums

It is that time again. Please prepare for 3dsMax 2022

Just like any March, I guess there will be 3dsMax 2022 soon.
Please compile Lightening NOW and release in the same day.
Nowadays all other plugins come out no less than 2 weeks from the release even small ones.

Please, Please, Please do not disappoint us again.

4 Likes

Donā€™t know if itā€™s sarcasm or serious. Because every animation house I know are using a new 3dsmax version right from day one, for sure. Yes really, just believe it.

I donā€™t think I ever say ā€œevery animation house I know are using a new 3dsmax version right from day oneā€.

You never know what users would do or want.
What Thinkbox need to is release ASAP.
Using it or not is up to users.
I donā€™t see any problem asking quick update.

+1. I hope we donā€™t have to wait for months and months again. Tell Bezos his stuff can wait.

+1, waiting for itā€¦

Soā€¦ it is the end of March. Any ETA?

Has anyone tried modifying the .param files and testing submission?

image

Latest version is 24.0.0.923

Iā€™ve added this around line 662 in
ā€¦\DeadlineRepository10\plugins\3dsmax\3dsmax.py

        "24.0.0.923":"3ds Max 2022"

In the param file add this after the 2021 line (around line 90)

[RenderExecutable2022]
Category=3ds Max Render Executables
CategoryOrder=0
CategoryIndex=8
Label=3ds Max 2022 Executable
Type=multilinemultifilename
Description=The path to the 3dsmaxio.exe or 3dsmax.exe used for rendering on each Worker, use a ; to separate multiple paths.
Default=C:\Program Files\Autodesk\3ds Max 2022\3dsmaxio.exe;C:\Program Files\Autodesk\3ds Max 2022\3dsmax.exe

Install the plugin manually

copy
\\...\DeadlineRepository10\submission\3dsmax\Client\Deadline3dsMaxClient.mcr
to
C:\Program Files\Autodesk\3ds Max 2022\MacroScripts\Deadline3dsMaxClient.mcr

and
\\...\DeadlineRepository10\submission\3dsmax\Client\SMTDSetup.ms
to
C:\Program Files\Autodesk\3ds Max 2022\scripts\Startup\SMTDSetup.ms

copy the 2021 folder and rename 2022
\ā€¦\DeadlineRepository10\maxStartup\2021

then edit the files to have 2022, open the .xml and use a text editor to find and replace 2021 with 2022

Seems to fail for me, I am submitting with V-Ray 5.1 alsoā€¦
at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)

Not sure if thats the hacky way Iā€™ve added the plugin? Donā€™t think 3ds went python 3 like Maya, thereā€™s not really a lot of new features in there so will presume thereā€™s other files that need modding

at Deadline.Plugins.DeadlinePlugin.FailRender(String message) <- for that error, look in the render log above it. Iā€™d expect to see some VRay warning thatā€™s causing FailRender to be called on the plugin.

thanks @Justin_B, I get the same error with doing the standard render , is it a python thing? Iā€™m using 10.1.14.5, or do I need this updated lightning.dlx file as mentioned in the first post?

=======================================================
Error
=======================================================
Error: FailRenderException : 3dsmax startup: Error getting connection from 3dsmax: Monitored managed process "3dsmaxProcess" has exited or been terminated.

I switched on verbose mode, thereā€™s lots of complaints about pop ups

2021-03-31 12:34:59:  0: DEBUG: PopupHandler.CheckForPopups: Getting popup handles
2021-03-31 12:34:59:  0: DEBUG: PopupHandler.CheckForPopups: Got 2 handles
2021-03-31 12:34:59:  0: DEBUG: PopupHandler.CheckForPopups: Returning
2021-03-31 12:35:01:  0: DEBUG: PopupHandler.CheckForPopups: Getting popup handles
2021-03-31 12:35:01:  0: DEBUG: PopupHandler.CheckForPopups: Got 2 handles
2021-03-31 12:35:01:  0: DEBUG: PopupHandler.CheckForPopups: Returning
2021-03-31 12:35:02:  0: DEBUG: PopupHandler.CheckForPopups: Getting popup handles
2021-03-31 12:35:02:  0: DEBUG: PopupHandler.CheckForPopups: Got 2 handles
2021-03-31 12:35:02:  0: DEBUG: PopupHandler.CheckForPopups: Returning

The main error is here

2021/03/31 12:35:22 INF: [18728] [21196] Server is not responding
2021/03/31 12:36:27 DBG: [18728] [21196] Stop network
2021/03/31 12:36:29 ERR: [18728] [21196] An unexpected exception has occurred in the network renderer and it is terminating.

   at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\SCALA\plugins\60645e53ca96433b04ea23eb\3dsmax.py", line 163, in StartJob
    self.MyMaxController.StartMax()
  File "C:\ProgramData\Thinkbox\Deadline10\workers\SCALA\plugins\60645e53ca96433b04ea23eb\3dsmax.py", line 1258, in StartMax
    self.WaitForConnection( "3dsmax startup" )
  File "C:\ProgramData\Thinkbox\Deadline10\workers\SCALA\plugins\60645e53ca96433b04ea23eb\3dsmax.py", line 2169, in WaitForConnection
    self.Plugin.FailRender( "%s: Error getting connection from 3dsmax: %s\n%s" % (errorMessageOperation, e.Message, self.NetworkLogGet()) )
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __FranticX_GenericDelegate0Dispatcher.Invoke()
   at Deadline.Plugins.DeadlinePlugin.StartJob()
   at Deadline.Plugins.DeadlinePlugin.DoStartJob()
   at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
   at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException
=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bcy, CancellationToken bcz)
   at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajg, CancellationToken ajh)
=======================================================
Log
=======================================================
2021-03-31 12:34:48:  0: Loading Job's Plugin timeout is Disabled
2021-03-31 12:34:48:  0: WARNING: Python version for '3dsmax' plugin is not specified! Defaulting to Py2.

These are the Lightning errors, I did just copy paste the one from 2021, I tried opening with hex editor but ihavenoideawhatimdoing.jpg

2021-03-31 12:36:31:  0: 2021/03/31 12:35:21 ERR: [18728] [21196] DEADLINE: The lightningMax.dlx plugin does not appear to have loaded on 3dsmax startup, which is required to render with Deadline.
2021-03-31 12:36:31:  0: 2021/03/31 12:35:21 ERR: [18728] [21196] DEADLINE: Check to see if there is an entry for the lightningMax.dlx plugin in your plugin.ini file. If there is, you should remove it to avoid potential conflicts.
2021-03-31 12:36:31:  0: 2021/03/31 12:35:21 ERR: [18728] [21196] DEADLINE: Check to see if you have the necessary C++ Redistributables required by lightningMax.dlx. Running the Deadline Client installer again will ensure they are installed.
2021-03-31 12:36:31:  0: 2021/03/31 12:35:21 INF: [18728] [21196] Starting network rendering

There is a reference to Py3 in here, I donā€™t know which app is using it thoughā€¦
2021-03-31 12:36:31: 0: 2021/03/31 12:35:19 INF: [18728] [21196] Initializing Python version: 3.7.9

Iā€™ve attached the full log

wut.7z (10.8 KB)

3dsMAx 2022 got a SDK break, wich mean the lightening.dlx pluggin need to be recompile for 3dsMAX 2022, the 2021 one will not work for 2022.
You could still use the 3dsMAXcmd plugin for submitting rendering after few edit of the deadline files, it should work waiting for 3dsMAX pluggin (and the dlx) from thinkbox.
main issue will be for maxscript job, since 3dsMAXcmd (backburner style), suck for mxs task on farm.
With changing a bit how Deadline work for 3dsMAX version you could even make it work (at least for 3maxCmd), for max betas version (use array of version instead of the addition ā€˜old wayā€™ from build num thinkbox is using)ā€¦

1 Like

Usually the error would be better than An unexpected exception has occurred in the network renderer and it is terminating. but weā€™re not that lucky.

That Python 3.7 load looks like itā€™s happening from inside of Max, so I imagine the error is from that. Though as @MarcoA points out, the lightningMax.dlx weā€™re using is in need of recompiling so that might also be the issue. For the moment 3dsCmd jobs might have to be the order of the day.

Although, right at the end thereā€™s this:

2021-03-31 12:36:31:  0: 2021/03/31 12:35:22 INF: [18728] [21196] [V-Ray] Host is 3ds Max, version 24
2021-03-31 12:36:31:  0: 2021/03/31 12:35:22 INF: [18728] [21196] [V-Ray] V-Ray DLL version is 5.10.01
2021-03-31 12:36:31:  0: 2021/03/31 12:35:22 INF: [18728] [21196] Server is not responding

Iā€™m not familiar enough with how DBR works, but would that line up with a log somewhere?

Though weā€™ve already got the Python 3 and lightningMax.dlx strikes against us so that might not be worth the hassle of digging up.

tl;dr Thereā€™s already two things we might not be able to work around falling over in this log, so it might not be worth fixing outside of Thinkboxā€™s proper release.

1 Like

Thanks Justin, Iā€™m not in a rush to use this, the last scene is using the scanline render so not sure why itā€™s requesting V-Ray (or Arnoldā€¦)

I figure if I can test it that far and itā€™s a simple fix, then everyone who has a big project with a tight deadline who absolutely has to use the latest version thatā€™s only just been released can get rendering.

Have a great Easter

Since 3dsMax 2022 is py3 only. It might cause issue. But, we should have at least lightening.dlx pluggin recompiled.

Any update? Come on Thinkboxā€¦

Last year, Max 2021 released in March and Deadline supports it in May. Can we be that optimistic this year?
Iā€™m really looking forward to Max 2022 support. Especially with the new Safe Scene Script Execution (SSSE) feature, itā€™ll make processing userā€™s scenes much more secure.
I afraid that SSSE might changes the way Deadline works with Max, which will cause longer time to support. Is it true?

10.1.15.2 just released and no 2022 update :frowning:

We plan to have this included in the upcoming 10.1.16 build (likely next month).

4 Likes

Whoooo, thanks Boboā€¦Amazing.

Just to be clear, I only uploaded it to the Forum. Thanks go to the Deadline developers who provided it. We plan to upload the Maya 2022 integration preview in advance in the same manner.

So thanks to them too :slight_smile:

Privacy | Site terms | Cookie preferences