Maya Batch renders wrong alembic cache frame for correspond frame

Hello,

When having maya batch checked, for submitting a maya job, we get different alembic frame caches rendered. i.e frame 20 may render alembic cache frame 5 - this happens very randomly. Even to the extent that if I have the same scene but lower the render settings it will render fine but if I increase the settings it will render the incorrect alembic for the frame. What I think happens is that the first frame renders on a slave and for the next frame it renders (say frame 20) but renders the alebmic from the previous frame rendered. This bug has been around for atleast 5 years but haven’t worried too much about it as it didn’t happen often. Now what we’re rendering with REDShift (previously Vray) it happens far too often. It just so happened we had one computer that conistently produced the same render error and by turing off maya batch all render well. This computer is setup the same as the other computers.

Below are our software versions.

Windows 7
Maya 2018.4
Alembic
Deadline Client Version: 10.0.27.3 Release (f9638e9ab)
FranticX Client Version: 2.4.0.0 Release (1daeb340b)

For now we’ll render with maya batch turned off but of course it would better to have it on to save maya load time.

Appreciate your help,

Cheers,

Jeremy

We’ve had this issue (or at least a similar one) with Redshift/Maya as well. There were a few things that helped, like modifying the MayaBatch Deadline plugin to reload scenes between frames and lots of other hacks. At the end of the day, it was a sporadic issue that was hard to error-check, and our hacks only really served to minimise the problem.

Long story short, we changed our caching method away from ABC, and have not had any issues since. Another thing that swung is in this direction was the complete unwillingness of Maya’s ABC plugin to repath caches (we linked them to asset meshes, not simply referenced them in).

Not sure if this helps you in any way, but at least you’re not completely alone with your troubles :slight_smile:

Thank you. Out of interest what is the alternative caching system you moved to?

We actually just went back to Geo caches (Maya .mcx files). Since the caching and importing process is invisible to artists, it was a pretty straight forward swap. If your artists are manually submitting (and using) caches, however, I think you’ll find Geo caches to be a bit of a pain. Or not, who knows :slight_smile:

Things to consider:

  • In most cases (but not all), .mcx files are significantly larger in size than .abc files
  • Maya needs a mesh to link the cache vertex information to, unlike Alembics which can be “generated” based on the file contents if needed. This was actually perfect for us, since we were already doing the same with .abc files, but this is not necessarily everyone’s workflow
  • For that reason, you most likely want to have an Anim version of your asset, which gets animated and is used to generate the cache. Then a companion Render version of the same asset (just minus the rig, sanitised transforms, etc) is linked to the cache data and preferably stored as an intermediary Cache (.mb) file. This is the file you should be referencing downstream for Lighting or whatever, in this particular scenario

Hopefully at least some of this made sense. Every studio is different though, so what’s working well for us might not be the right choice for you, etc.

i am also facing some issue to render alembic in maya2019,
Deadline Client Version: 10.0.7.0 Release
FranticX Client Version: 2.4.0.0 Release

=======================================================
Log

2020-01-27 12:37:10: 0: Executing plugin command of type ‘Sync Files for Job’
2020-01-27 12:37:10: 0: All job files are already synchronized
2020-01-27 12:37:10: 0: Plugin MayaBatch was already synchronized.
2020-01-27 12:37:10: 0: Done executing plugin command of type ‘Sync Files for Job’
2020-01-27 12:37:11: 0: Start Job timeout is disabled.
2020-01-27 12:37:11: 0: Task timeout is disabled.
2020-01-27 12:37:11: 0: Plugin rendering frame(s): 1135
2020-01-27 12:37:11: 0: Executing plugin command of type ‘Render Task’
2020-01-27 12:37:11: 0: INFO: Waiting until maya is ready to go
2020-01-27 12:37:11: 0: STDOUT: mel: READY FOR INPUT
2020-01-27 12:37:12: 0: INFO: >This is a Render Job
2020-01-27 12:37:12: 0: INFO: Rendering with arnold
2020-01-27 12:37:12: 0: INFO: Rendering to network drive
2020-01-27 12:37:12: 0: INFO: Creating melscript to execute render
2020-01-27 12:37:12: 0: INFO: Executing script: C:\Users\muster\AppData\Local\Temp\tmp636D.tmp
2020-01-27 12:37:12: 0: INFO: Waiting for script to finish
2020-01-27 12:37:12: 0: STDOUT: mel: Loading scene: U:/src/1089_TNJ/sequences/TNJ113/130/lighting/work/maya/TNJ113_130_lighting_007_R009.ma
2020-01-27 12:37:12: 0: WARNING: Strict error checking off, ignoring the following error or warning.
2020-01-27 12:37:12: 0: STDOUT: Warning: file: C:/Program Files/Autodesk/Maya2019/scripts/others/makeCameraRenderable.mel line 45: Found camera TNJ113_130_matchmove:TNJ_113_0130_PULLBACK_CAMERA_RENDERShape.
2020-01-27 12:37:13: 0: STDOUT: 00:00:00 7486MB WARNING | unable to load dynamic library C:/Users/muster/Documents/maya/2019/plug-ins/Yeti/bin\pgYetiDLRender.dll: The specified module could not be found.
2020-01-27 12:37:13: 0: STDOUT: 00:00:00 7486MB WARNING | unable to load dynamic library C:/Users/muster/Documents/maya/2019/plug-ins/Yeti/bin\pgYetiPrmanRender.dll: The specified module could not be found.
2020-01-27 12:37:13: 0: STDOUT: 00:00:00 7486MB WARNING | unable to load dynamic library C:/Users/muster/Documents/maya/2019/plug-ins/Yeti/bin\vray_pgYetiVRay.dll: The specified module could not be found.
2020-01-27 12:37:14: 0: STDOUT: 00:00:00 7523MB WARNING | Character_horseTanaji_rig:horseLong_yetiShape: could not set POINTER parameter “disp_map”
2020-01-27 12:37:14: 0: STDOUT: 00:00:01 7533MB WARNING | Character_horseTanaji_rig:horseLashes_YetiShape: could not set POINTER parameter “disp_map”
2020-01-27 12:37:15: 0: STDOUT: 00:00:01 7548MB WARNING | Character_horseTanaji_rig:horseMain_yetiShape: could not set POINTER parameter “disp_map”
2020-01-27 12:37:15: 0: STDOUT: 00:00:02 7558MB WARNING | Character_horseTanaji_rig:horseMutant_yetiShape: could not set POINTER parameter “disp_map”
2020-01-27 12:37:15: 0: STDOUT: 00:00:02 7567MB WARNING | Character_horseTanaji_rig:horseStray_yetiShape: could not set POINTER parameter “disp_map”
2020-01-27 12:37:17: 0: STDOUT: 00:00:04 7695MB WARNING | Character_horseTanaji_rig:horseLashes_YetiShape: could not read ARRAY parameter “customMotionStartAndEnd”
2020-01-27 12:37:34: 0: STDOUT: 00:00:21 7742MB WARNING | Character_horseTanaji_rig:horseLong_yetiShape: could not read ARRAY parameter “customMotionStartAndEnd”
2020-01-27 12:38:01: 0: STDOUT: 00:00:48 8490MB WARNING | Character_horseTanaji_rig:horseMain_yetiShape: could not read ARRAY parameter “customMotionStartAndEnd”
2020-01-27 12:43:02: 0: STDOUT: 00:05:48 13262MB WARNING | Character_horseTanaji_rig:horseMutant_yetiShape: could not read ARRAY parameter “customMotionStartAndEnd”
2020-01-27 12:43:26: 0: STDOUT: 00:06:12 14323MB WARNING | Character_horseTanaji_rig:horseStray_yetiShape: could not read ARRAY parameter “customMotionStartAndEnd”
2020-01-27 12:43:42: 0: STDOUT: 00:06:29 14331MB WARNING | [polymesh] Character_horseTanaji_rig:l_sclera_geoShape: discarded 2 duplicate deformation keys
2020-01-27 12:43:42: 0: STDOUT: 00:06:29 14331MB WARNING | [polymesh] Character_horseTanaji_rig:l_lens_geoShape: discarded 2 duplicate deformation keys
2020-01-27 12:43:42: 0: STDOUT: 00:06:29 14331MB WARNING | [polymesh] Character_horseTanaji_rig:r_sclera_geoShape: discarded 2 duplicate deformation keys
2020-01-27 12:43:42: 0: STDOUT: 00:06:29 14332MB WARNING | [polymesh] Character_horseTanaji_rig:r_membrane_geoShape: discarded 2 duplicate deformation keys
2020-01-27 12:43:42: 0: STDOUT: 00:06:29 14331MB WARNING | [polymesh] Character_horseTanaji_rig:l_membrane_geoShape: discarded 2 duplicate deformation keys
2020-01-27 12:43:43: 0: STDOUT: 00:06:29 14356MB WARNING | [driver_exr] defaultArnoldDriver@driver_exr.RGBA: autocrop is only supported for non-tiled images, disabling on: R:/src/TANAJI/RENDERS/test/character/beauty/beauty_1135.exr
2020-01-27 15:53:21: 0: STDOUT: Render completed.
2020-01-27 15:53:21: 0: STDOUT: mel: READY FOR INPUT
2020-01-27 15:53:21: 0: Done executing plugin command of type ‘Render Task’

=======================================================
Details

Date: 01/27/2020 15:53:55
Frames: 1135
Job Submit Date: 01/23/2020 15:33:57
Job User: muster
Average RAM Usage: 26760978432 (26%)
Peak RAM Usage: 44769054720 (44%)
Average CPU Usage: 94%
Peak CPU Usage: 104%
Used CPU Clocks (x10^6 cycles): 1167173248
Total CPU Clocks (x10^6 cycles): 1241673600

=======================================================
Slave Information

Slave Name: RF-16
Version: v10.0.7.0 Release (a0f30a477)
Operating System: Windows 81 Pro
Running As Service: Yes
Machine User: muster
IP Address: 192.168.1.66
MAC Address: 00:1E:67:E3:6F:26
CPU Architecture: x64
CPUs: 48
CPU Usage: 100%
Memory Usage: 23.1 GB / 95.9 GB (24%)
Free Disk Space: 128.299 GB
Video Card: @oem18.inf,%dwmirrordrv% 64-bit;DameWare Development Mirror Driver 64-bit

here is the log of the incorrect render.plz give me some advice to solve it.