Maya Render Layers and Output Folders

Hi,

We’ve been having some issues with render layer names and deadline submission. When we’re submitting a job from Maya as a MayaBatch or VrayExport job it is adding “masterlayer” into the folder names.

For the MayaBatch this is added to the output directory, for the MayaBatch job this is very annoying as the “masterlayer” folder doesn’t exist so in the Monitor you can’t navigate to the files. Although this doesn’t actually seem to affect the tasks and they output to the images folder rather than this non-existent subfolder. You can see an example below:

from the Plugin Info Parameters:
OutputFilePath=S:/GPU_TESTS/GPU_SCENE_TEST/images/

from the Job Info Parameters:
OutputDirectory0=S:\GPU_TESTS\GPU_SCENE_TEST\images\masterLayer

With the Vray Export jobs this completely breaks the dependent job as it adds “_masterlayer” to the input filename on the vray render job but not the output so there’s no correlation between the two jobs and the second job fails.

Export Jobs export filename:
VRayExportFile=S:/GPU_TESTS/GPU_SCENE_TEST/scenes/NUSRAT_VRTEST_001.vrscene

Vray Job’s input filename variable:
InputFilename=S:/GPU_TESTS/GPU_SCENE_TEST/scenes/NUSRAT_VRTEST_001_masterLayer.vrscene

Maybe we’re doing something wrong with the render layers but this is very frustrating behaviour. Any thoughts on what we can do to resolve this or if this a bug?

Thanks

Nick

Hello Nick,

Would I be able to get which version of deadline you are running? There have been a couple of issues discovered with the maya output path code that have been fixed in the last couple of releases that could show up as you said.

Grant

Sorry I should have included that in the previous message. We’re running 8.02, with Maya 2016 and VRay 3.40.02.

Nick

Hey Nick,

Would you be able to get me a simple scene that you can reproduce this in. I believe that all of the changes that would have affected this should be in 8.02 so it looks like we missed a case for the output pathing. I should then be able to get you an updated submitter that will fix these issues.

Grant

Hi Grant,

So we’ve established that it happens when a reference is imported. This multiplies up the “defaultRenderLayer” nodes in the scene even though they don’t then appear in the render layers gui. I’ve attached a file with the problem in. If you look in the outliner (turning DAG objects only filter off) there are two defaultRenderLayer nodes. In the deadline submitter the “Submit Render Layers As Separate Jobs” is undisabled with this extra object in, If we delete one of the nodes then this greys out again and submits properly.

Cheers

Nick
Multiple_Render_Layers.zip (11.1 KB)