Maya Geometry cache causes "Unable to modify overrides to the default layer" -error

Trying to render a file with Geometry Cache mesh in Maya. Added Yeti groom on top.

Get this error :

2021-12-09 03:54:25: 0: INFO: >This is a Render Job
2021-12-09 03:54:25: 0: INFO: Rendering with arnold
2021-12-09 03:54:25: 0: INFO: Rendering to network drive
2021-12-09 03:54:25: 0: INFO: Creating melscript to execute render
2021-12-09 03:54:25: 0: INFO: Importing scene asset introspection melscript: C:\ProgramData\Thinkbox\Deadline10\workers\n09002\plugins\61b162e345576e04569dc328\AssetTools.mel
2021-12-09 03:54:25: 0: WARNING: Disabling local asset caching: The local asset cache directory for this platform is not set. You must set this option in the MayaBatch repository plugin settings.
2021-12-09 03:54:25: 0: INFO: Executing script: C:\Users\Administrator\AppData\Local\Temp\tmp4ABC.tmp
2021-12-09 03:54:25: 0: STDOUT: mel: Result: rmanGlobals.imageOutputDir rmanGlobals.ribOutputDir
2021-12-09 03:54:26: 0: INFO: Waiting for script to finish
2021-12-09 03:54:26: 0: STDOUT: mel: Loading scene: C:/ProgramData/Thinkbox/Deadline10/workers/n09002/jobsData/61b162e345576e04569dc328/thread0_temp9rA9g0/teemutesting_A3.ma
2021-12-09 03:54:26: 0: STDOUT: ------[ XGen path mapping STARTED ]------
2021-12-09 03:54:26: 0: STDOUT: ------[ XGen path mapping SUCCEEDED ]------
2021-12-09 03:54:26: 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.
2021-12-09 03:54:26: 0: STDOUT: Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/removeRenderLayerAdjustmentAndUnlock.mel line 42: Unable to modify overrides to the default layer.
2021-12-09 03:54:26: 0: WARNING: Error: file: C:/Users/Administrator/AppData/Local/Temp/tmp4ABC.tmp line 54: Render failed.
2021-12-09 03:54:26: 0: WARNING: Encountered an error, logging render script contents for debugging:
2021-12-09 03:54:26: 0: WARNING: ################################ SCRIPT LOG START ################################
2021-12-09 03:54:26: 0: WARNING: // Starting Mel program
2021-12-09 03:54:26: 0: proc renderIt(string $name) {
2021-12-09 03:54:26: 0: string $opt=""; string $rl=""; string $rp=""; float $resize=-1.; loadPlugin -quiet mtoa;;
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.animation; setAttr defaultRenderGlobals.animation 1; removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.startFrame; setAttr defaultRenderGlobals.startFrame 3;
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.animation; setAttr defaultRenderGlobals.animation 1; removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.endFrame; setAttr defaultRenderGlobals.endFrame 3;
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultRenderGlobals.byFrameStep; catch(setAttr defaultRenderGlobals.byFrameStep 1);
2021-12-09 03:54:26: 0: workspace -fr “images” “maya/images”;workspace -fr “depth” “maya/images”;workspace -fileRule “images” “maya/images”;
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultResolution.width; catch(setAttr defaultResolution.width 960);
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultResolution.height; catch(setAttr defaultResolution.height 540);
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.threads_autodetect; catch(setAttr defaultArnoldRenderOptions.threads_autodetect 1);
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.log_verbosity; catch(setAttr defaultArnoldRenderOptions.log_verbosity 2);
2021-12-09 03:54:26: 0: $rl=“defaultRenderLayer”;
2021-12-09 03:54:26: 0: removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.abortOnLicenseFail; setAttr “defaultArnoldRenderOptions.abortOnLicenseFail” 1;removeRenderLayerAdjustmentAndUnlock defaultArnoldRenderOptions.renderType; catch(setAttr defaultArnoldRenderOptions.renderType 0);
2021-12-09 03:54:26: 0: setMayaSoftwareLayers($rl, $rp); setImageSizePercent($resize);mayaBatchRenderProcedure(0, “”, “”, “arnold”, $opt);
2021-12-09 03:54:26: 0: }
2021-12-09 03:54:26: 0: //
2021-12-09 03:54:26: 0: // Main part
2021-12-09 03:54:26: 0: //
2021-12-09 03:54:26: 0: proc mainDeadlineRender() {
2021-12-09 03:54:26: 0: string $sceneName = “C:/ProgramData/Thinkbox/Deadline10/workers/n09002/jobsData/61b162e345576e04569dc328/thread0_temp9rA9g0/teemutesting_A3.ma”;
2021-12-09 03:54:26: 0: print (“Loading scene: " + $sceneName + “\n”);
2021-12-09 03:54:26: 0: string $deadlineMappings[] = { “Z:/jobs”, “//nofs1.nopia.local/Jobs/jobs” };
2021-12-09 03:54:26: 0: print(”------[ XGen path mapping STARTED ]------\n");
2021-12-09 03:54:26: 0: if( catch( mapXGen( $deadlineMappings ) ) ) {
2021-12-09 03:54:26: 0: print("------[ XGen path mapping FAILED ]------\n");
2021-12-09 03:54:26: 0: } else {
2021-12-09 03:54:26: 0: print("------[ XGen path mapping SUCCEEDED ]------\n");
2021-12-09 03:54:26: 0: }
2021-12-09 03:54:26: 0: catch(python( “DeadlineMayaBatchFunctions.performArnoldPathmapping( 3, 3, ‘C:/ProgramData/Thinkbox/Deadline10/workers/n09002/jobsData/61b162e345576e04569dc328/thread0_temp9rA9g0’)” ) );
2021-12-09 03:54:26: 0: string $checkScene = file -q -sn;
2021-12-09 03:54:26: 0: if ($checkScene=="") {
2021-12-09 03:54:26: 0: error (“Cannot load scene “” + $sceneName + “”. Please check the scene path, then try opening the scene on the machine which ran this job to troubleshoot the problem.\n”);
2021-12-09 03:54:26: 0: } else if (catch(renderIt($sceneName))) {
2021-12-09 03:54:26: 0: error (“Render failed.\n”);
2021-12-09 03:54:26: 0: } else {
2021-12-09 03:54:26: 0: print (“Render completed.\n”);
2021-12-09 03:54:26: 0: }
2021-12-09 03:54:26: 0: }
2021-12-09 03:54:26: 0: mainDeadlineRender();
2021-12-09 03:54:26: 0: // Ending Mel program
2021-12-09 03:54:26: 0: WARNING: ################################# SCRIPT LOG END #################################
2021-12-09 03:54:26: 0: Done executing plugin command of type ‘Render Task’

…this is almost impossible to troubleshoot. Ended up replacing the Geometry Cache with Alembic Cache instead. Fixed the problem, still puzzled though.

Any ideas?