Recently I’ve been getting frequent crashes when using the VFB, whereby Maya will crash out completely either at the end of a render, or if the ESC key is pushed during a render. These crashes got progressively more frequent to the point that I couldn’t successfully complete even one render. Eventually found a solution (here) by removing the block in the Maya ASCII beginning “setAttr .vfbSA”. In my case, this block was several thousand lines long (this section of the .ma file is attached in case it’s of any use). Is there an easy way to fix/avoid this problem? Everyone in my office has it to some degree. Thanks.
Edit: OK, so using the “Reset V-Ray VFB” option in Render Settings fixes this, but obviously resets everything, so the question really becomes is there a way to avoid the VFB becoming corrupt?
The “Reset V-Ray VFB” does exactly that - it removes the settings for the VFB from the Maya file (once they are read and loaded in memory).
Is there any chance your scene was saved with an old version of VRay?
I’m can’t reproduce the crash here - what Linux are you running?
I could suggest opening the scene, saving the color corrections to a global file, resetting the vfb, then loading the color corrections global file again and saving the scene.
You can do that by opening the color corrections window of the VFB and going into “Globals…” --> save - this can save all color correction settings to an external file that you can load back in again.
We haven’t been able to reproduce the crash, so I’ll PM you a link to a debug build of V-Ray with which to generate a core dump you can send to us. To do so, open a terminal and run the following commands
# this enables saving core dumps to current directory
sudo sysctl kernel.core_pattern=core
# this enables core dumps in the current shell
ulimit -c unlimited
# start Maya in this terminal, you won't get a core dump if you start it from a new terminal or from the desktop
/usr/autodesk/maya2016.5/bin/maya
After that, when Maya crashes, it will save a file called core.(some digits) in the current directory. If you haven’t changed directories since starting the terminal, that would be your home directory. Please zip the file and upload it to e.g. dropbox or google drive and PM me the link.