If an xmesh node is set to render the proxy path, but has no proxy filename set, the deadline submission will crash in:
SubmitMaxToDeadline_Functions.ms
At lines:
local theBaseFilename = anXMeshLoader.renderSequence
if anXMeshLoader.renderSequenceID == 1 do theBaseFilename = anXMeshLoader.proxySequence
if doesFileExist theBaseFilename do
with an:
MAXScript Rollout Handler Exception:
– Unable to convert: undefined to type: FileName <<
When I create an XMesh Loader, the .proxySequence property is “”, not undefined.
In fact, I cannot even ASSIGN undefined to it, as it throws an error because the paramBlock knows it should be of type FileName.
So how the heck did that property end up as undefined?
Obviously we can add a test for undefined, but we never expected it to have that value. Can you confirm that it is the property .proxySequence that is undefined, and not something else?
Also, what version of XMesh Loader are you running?
There actually already is a
if theBaseFilename != undefined do
conditional in the SubmitMaxToDeadline_Functions.ms code a little later, but it doesn’t encapsulate the
if doesFileExist theBaseFilename do
block of code. So i just moved it in there for a quick fix.