we just upgraded to 7.2.0.10 and are since getting an error message when trying to submit a scene from 3ds Max 2012 - precisely when running the SanityCheck:
-- Unknown property: "renderDialogMode" in #Struct:renderers(
...
(see attached screenshot).
This doesn’t happen in Max 2016. We can’t tell for other Max releases.
Any idea what’s causing this and if it’s related to the Max version could you implement some check to avoid this?
Good catch, looks like a new Global check was added to prevent submission while in ActiveShade mode, but no precaution was included to avoid running that check in Max 2015 and earlier where the property .renderDialogMode did not exist.
The simplest way you can fix this yourself would be:
*Go to your Repository
*Navigate to the \submission\3dsmax\main\ folder
*Open the file “SubmitMaxToDeadline_SanityCheck_General.ms”
*Locate the function definition
fn CheckForActiveShade =
(
renderers.renderDialogMode != #activeShade
)
*Change it to
fn CheckForActiveShade =
(
try(renderers.renderDialogMode != #activeShade)catch(true)
)
*Save the file.
*Restart SMTD and try again.
This way, if the code fails, it will return true and the check will pass.
We will have to look into Max before 2016 to see if there are other properties related to ActiveShade that we must check there before submitting, but this should fix the issue for the short term.
Since the General Sanity Check is updated by the installer, I think we will have it fixed on our side for the next beta drop.