We’re having an issue with MASH and referencing. I’m not sure if it’s a Deadline specific issue though as it crashes in when running locally through mayabatch. Basically if we use MASH distribute (or others) in a referenced scene file it will not render through the batch command. It works fine locally but always fails on the farm.
I’ve attached the files and the error from Deadline below, it seems to be crashing after V-Ray loads but I’m not sure if that’s what’s actually causing. It’s almost impossible to prevent V-Ray from loading even though there’s not of it in the file!
Any thoughts on what might be causing the crashes? The only resolution is to load the reference into the render file and we would really like to avoid that.
2018-11-06 14:49:28: 0: Plugin will be reloaded because a new job has been loaded.
2018-11-06 14:49:28: 0: Loading Job’s Plugin timeout is Disabled
2018-11-06 14:49:29: 0: Loaded plugin MayaBatch
2018-11-06 14:49:29: 0: Executing plugin command of type ‘Sync Files for Job’
2018-11-06 14:49:29: 0: Synchronization time for job files: 66.947 ms
2018-11-06 14:49:29: 0: Synchronizing Plugin MayaBatch from \192.168.0.200\deadline10\plugins\MayaBatch took: 0 seconds
2018-11-06 14:49:29: 0: Done executing plugin command of type ‘Sync Files for Job’
2018-11-06 14:49:30: 0: Executing plugin command of type ‘Initialize Plugin’
2018-11-06 14:49:30: 0: CheckPathMapping: Swapped "\src" with "\src"
2018-11-06 14:49:30: 0: INFO: Executing plugin script ‘C:\Users*\AppData\Local\Thinkbox\Deadline10\slave\studio-04-028\plugins\5be1a9f5716feb18c8f3761f\MayaBatch.py’
2018-11-06 14:49:31: 0: INFO: About: Maya Batch Plugin for Deadline
2018-11-06 14:49:31: 0: INFO: Render Job As User disabled, running as current user ‘*’
2018-11-06 14:49:31: 0: INFO: The job’s environment will be merged with the current environment before rendering
2018-11-06 14:49:31: 0: Done executing plugin command of type ‘Initialize Plugin’
2018-11-06 14:49:31: 0: Start Job timeout is disabled.
2018-11-06 14:49:31: 0: Task timeout is disabled.
2018-11-06 14:49:31: 0: Loaded job: 1036 - mash ref test (5be1a9f5716feb18c8f3761f)
2018-11-06 14:49:31: 0: Skipping S: because it is not mapped for this region: unrecognized
2018-11-06 14:49:31: 0: Skipping W: because it is already mapped
2018-11-06 14:49:31: 0: Executing plugin command of type ‘Start Job’
2018-11-06 14:49:31: 0: INFO: Executing global asset transfer preload script ‘C:\Users*\AppData\Local\Thinkbox\Deadline10\slave\studio-04-028\plugins\5be1a9f5716feb18c8f3761f\GlobalAssetTransferPreLoad.py’
2018-11-06 14:49:31: 0: INFO: Looking for AWS Portal File Transfer…
2018-11-06 14:49:31: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2018-11-06 14:49:31: 0: INFO: Could not find AWS Portal File Transfer.
2018-11-06 14:49:31: 0: INFO: AWS Portal File Transfer is not installed on the system.
2018-11-06 14:49:31: 0: INFO: Rendering with Maya Version 2018.0
2018-11-06 14:49:31: 0: INFO: Setting MAYA_DEBUG_ENABLE_CRASH_REPORTING environment variable to 0 for this session. Set to 1 if you need Maya debug log
2018-11-06 14:49:31: 0: INFO: Setting MAYA_DISABLE_CIP (ADSK Customer Involvement Program) environment variable to 1 for this session
2018-11-06 14:49:31: 0: INFO: Setting MAYA_DISABLE_CER (ADSK Customer Error Reporting) environment variable to 1 for this session
2018-11-06 14:49:31: 0: INFO: Setting MAYA_DISABLE_CLIC_IPM (ADSK In Product Messaging) environment variable to 1 for this session
2018-11-06 14:49:31: 0: INFO: Setting MAYA_OPENCL_IGNORE_DRIVER_VERSION environment variable to 1 for this session
2018-11-06 14:49:31: 0: INFO: Setting MAYA_VP2_DEVICE_OVERRIDE environment variable to VirtualDeviceDx11 for this session
2018-11-06 14:49:31: 0: INFO: Setting MAYA_ENABLE_LEGACY_RENDER_LAYERS environment variable to 1 for this session
2018-11-06 14:49:31: 0: INFO: Enforcing 64 bit build of Maya
2018-11-06 14:49:31: 0: INFO: Setting PYTHONHOME to C:\Program Files\Autodesk\Maya2018\Python for this session
2018-11-06 14:49:31: 0: INFO: Starting monitored managed process MayaBatch
2018-11-06 14:49:31: 0: INFO: Stdout Redirection Enabled: True
2018-11-06 14:49:31: 0: INFO: Stdout Handling Enabled: True
2018-11-06 14:49:31: 0: INFO: Popup Handling Enabled: True
2018-11-06 14:49:31: 0: INFO: QT Popup Handling Enabled: False
2018-11-06 14:49:31: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2018-11-06 14:49:31: 0: INFO: Using Process Tree: True
2018-11-06 14:49:31: 0: INFO: Hiding DOS Window: True
2018-11-06 14:49:31: 0: INFO: Creating New Console: False
2018-11-06 14:49:31: 0: INFO: Running as user: SLGuest
2018-11-06 14:49:31: 0: INFO: Enforcing 64 bit build of Maya
2018-11-06 14:49:31: 0: INFO: Executable: "C:\Program Files\Autodesk\Maya2018\bin\MayaBatch.exe"
2018-11-06 14:49:31: 0: INFO: Argument: -prompt -proj "//***/maya"
2018-11-06 14:49:31: 0: INFO: Full Command: "C:\Program Files\Autodesk\Maya2018\bin\MayaBatch.exe" -prompt -proj "//***/maya"
2018-11-06 14:49:31: 0: INFO: Startup Directory: "C:\Program Files\Autodesk\Maya2018\bin"
2018-11-06 14:49:31: 0: INFO: Process Priority: BelowNormal
2018-11-06 14:49:31: 0: INFO: Process Affinity: default
2018-11-06 14:49:31: 0: INFO: Process is now running
2018-11-06 14:49:31: 0: Done executing plugin command of type ‘Start Job’
2018-11-06 14:49:31: 0: Plugin rendering frame(s): 0
2018-11-06 14:49:31: 0: Executing plugin command of type ‘Render Task’
2018-11-06 14:49:31: 0: INFO: Waiting until maya is ready to go
2018-11-06 14:49:41: 0: STDOUT: Initialized VP2.0 renderer {
2018-11-06 14:49:41: 0: STDOUT: Version : 2016.11.38.12. Feature Level 5.
2018-11-06 14:49:41: 0: STDOUT: Adapter : NVIDIA GeForce GTX 960
2018-11-06 14:49:41: 0: STDOUT: Vendor ID: 4318. Device ID : 5121
2018-11-06 14:49:41: 0: STDOUT: Driver : C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverS:23.21.13.8813.
2018-11-06 14:49:41: 0: STDOUT: API : DirectX V.11.
2018-11-06 14:49:41: 0: STDOUT: Max texture size : 16384 * 16384.
2018-11-06 14:49:41: 0: STDOUT: Max tex coords : 32
2018-11-06 14:49:41: 0: STDOUT: Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
2018-11-06 14:49:41: 0: STDOUT: Active stereo support available : 0
2018-11-06 14:49:41: 0: STDOUT: GPU Memory Limit : 4096 MB.
2018-11-06 14:49:41: 0: STDOUT: CPU Memory Limit: 31076.6 MB.
2018-11-06 14:49:42: 0: STDOUT: MultiDraw consolidation attempted to enable, but the graphics device does not support it. MultiDraw will be disabled.
2018-11-06 14:49:42: 0: STDOUT: }
2018-11-06 14:49:42: 0: STDOUT: OpenCL evaluator is attempting to initialize OpenCL.
2018-11-06 14:49:42: 0: STDOUT: Detected 1 OpenCL Platforms:
2018-11-06 14:49:42: 0: STDOUT: 0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 9.1.75.
2018-11-06 14:49:42: 0: STDOUT: Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer
2018-11-06 14:49:42: 0: STDOUT: OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
2018-11-06 14:49:42: 0: STDOUT: Choosing OpenCL Device GeForce GTX 960. Device Type: GPU Device is available.
2018-11-06 14:49:45: 0: STDOUT: pymel.core : INFO : Updating pymel with pre-loaded plugins: invertShape, mayaHIK, GamePipeline, CloudImportExport, curveWarp, tiffFloatReader, MASH, poseInterpolator, bifrostvisplugin, ATFPlugin, hairPhysicalShader, ikSpringSolver, ik2Bsolver, xgenToolkit, AbcExport, retargeterNodes, VectorRender, gameFbxExporter, OpenEXRLoader, lookdevKit, Unfold3D, Type, fbxmaya
2018-11-06 14:49:49: 0: STDOUT: Maya 2018 importing module pymel 1.0.10 (C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\pymel_init_.py)
2018-11-06 14:49:56: 0: STDOUT: Batch mode. Skipping UserSetup.py
2018-11-06 14:49:56: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message.
2018-11-06 14:49:56: 0: STDOUT: Error: file: //slsvr/system/Codebase/Maya/plugins/substance/2018/scripts/userSetup.mel line 84: UI commands can’t be run in batch mode.
2018-11-06 14:49:57: 0: STDOUT: Result: untitled
2018-11-06 14:49:57: 0: STDOUT: mel: READY FOR INPUT
2018-11-06 14:49:57: 0: INFO: Importing Maya Batch Utils melscript: C:\Users\SLGuest\AppData\Local\Thinkbox\Deadline10\slave\studio-04-028\plugins\5be1a9f5716feb18c8f3761f\MayaBatchUtils.mel
2018-11-06 14:49:57: 0: INFO: Waiting for Maya Batch Utils melscript to finish loading
2018-11-06 14:49:58: 0: STDOUT: mel: mel: READY FOR INPUT
2018-11-06 14:49:58: 0: INFO: Importing Maya Batch Functions python script: C:\Users\SLGuest\AppData\Local\Thinkbox\Deadline10\slave\studio-04-028\plugins\5be1a9f5716feb18c8f3761f\DeadlineMayaBatchFunctions.py
2018-11-06 14:49:58: 0: INFO: Waiting for Maya Batch Functions python script to finish importing
2018-11-06 14:49:59: 0: STDOUT: mel: Result: 0
2018-11-06 14:49:59: 0: STDOUT: mel: READY FOR INPUT
2018-11-06 14:50:00: 0: INFO: >This is a Render Job
2018-11-06 14:50:00: 0: INFO: Rendering with mayasoftware
2018-11-06 14:50:00: 0: INFO: Rendering to network drive
2018-11-06 14:50:00: 0: INFO: Creating melscript to execute render
2018-11-06 14:50:00: 0: INFO: <generator object <genexpr> at 0x000001A573E45F78>
2018-11-06 14:50:00: 0: INFO: Adding dirmap command to map "S:/" to "//SLSVR/SYSTEM/"
2018-11-06 14:50:00: 0: INFO: Adding dirmap command to map "W:/" to "//slsvr/work/"
2018-11-06 14:50:00: 0: INFO: Adding dirmap command to map "L:/" to "//192.168.0.194/liddelljones/"
2018-11-06 14:50:00: 0: INFO: Executing script: C:\Users\SLGuest\AppData\Local\Temp\tmp7658.tmp
2018-11-06 14:50:00: 0: INFO: Waiting for script to finish
2018-11-06 14:50:00: 0: STDOUT: mel: Loading scene: C:/Users/SLGuest/AppData/Local/Thinkbox/Deadline10/slave/studio-04-028/jobsData/5be1a9f5716feb18c8f3761f/mash_farm_test_v001.ma
2018-11-06 14:50:00: 0: STDOUT: [2018/Nov/6|14:50:00] V-Ray: V-Ray for Maya version 3.60.01 from Sep 11 2017, 22:04:12
2018-11-06 14:50:00: 0: STDOUT: [2018/Nov/6|14:50:00] V-Ray: V-Ray core version is 3.60.03
2018-11-06 14:50:00: 0: STDOUT: Initializing V-Ray for Maya
2018-11-06 14:50:12: 0: STDOUT: [2018/Nov/6|14:50:11] V-Ray: Loading plugins from "C:/Program Files/Autodesk/Maya2018/vray/vrayplugins/vray_*.dll"
2018-11-06 14:50:12: 0: STDOUT: [2018/Nov/6|14:50:12] V-Ray: 77 plugin(s) loaded successfully
2018-11-06 14:50:12: 0: STDOUT: [2018/Nov/6|14:50:12] V-Ray: Loading plugins from "//slsvr/system/Codebase/Maya/plugins/Yeti/2018/bin/vray_*.dll"
2018-11-06 14:50:12: 0: STDOUT: [Tue Nov 6 14:50:12 2018] Yeti 2.2.5: Yeti v2.2.5, built on Dec 15 2017 at 15:03:46
2018-11-06 14:50:12: 0: STDOUT: [Tue Nov 6 14:50:12 2018] Yeti 2.2.5: (c) 2010-Present Peregrine Labs a division of Peregrine Visual Storytelling Ltd. All rights reserved.
2018-11-06 14:50:12: 0: STDOUT: [2018/Nov/6|14:50:12] V-Ray: 1 plugin(s) loaded successfully
2018-11-06 14:50:12: 0: STDOUT: [2018/Nov/6|14:50:12] V-Ray: Finished loading plugins.
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node vrayMultiProjection (id: 1115335/0x001104C7)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRayCurvature (id: 1115347/0x001104D3)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRayTriplanar (id: 1115362/0x001104E2)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRaySkinMtl (id: 1115348/0x001104D4)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRayPointParticleMtl (id: 1115353/0x001104D9)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRayStochasticFlakesMtl (id: 1115359/0x001104DF)
2018-11-06 14:50:13: 0: STDOUT: [2018/Nov/6|14:50:13] V-Ray: Registered dynamic node VRayAlSurface (id: 1115350/0x001104D6)
2018-11-06 14:50:13: 0: STDOUT: info: Loaded "C:\Program Files\Autodesk\Maya2018\bin\MayaBatch.exe"
2018-11-06 14:50:13: 0: STDOUT: info: MDL SDK 2017, build 287000.5634, 12 Apr 2017, nt-x86-64-vc11
2018-11-06 14:50:13: 0: STDOUT: info: Loaded library "C:\Program Files\Autodesk\Maya2018\bin\libvrayfreeimage.dll".
2018-11-06 14:50:15: 0: WARNING: Monitored managed process MayaBatch is no longer running
2018-11-06 14:50:15: 0: Done executing plugin command of type ‘Render Task’
2018-11-06 14:50:15: 0: An exception occurred: Error: Monitored managed process "MayaBatch" has exited or been terminated.
2018-11-06 14:50:15: at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
MASH_REFERENCE.7z (689.7 KB)