vrayinfo/filename incorrect in exr metadata

When we render on our farm we save out a temp scene that is used for the actual rendering.
The problem is that in the exr metadata the vrayinfo/filename contains the original scene path instead of the temp scene.
Is there anyway to make vray refresh its scene information so it actually contains the scene path for the file actually used for rendering?

Using:
Vray next maya update1
maya 2018
centos 7

-- Erik

Thanks for letting us know, I can reproduce it here too. We’ll look into it.

Any update on this?

-- Erik

I’m afraid there’s no progress on this yet, but it’s still on our to-do list.

Hello, you can force V-Ray to update the scene name by prepending the following command to the pre render mel script:

setAttr -type "string" "vraySettings.mayaSceneName" file -q -sn;

This is the attribute that we use to keep track of the original scene name in case we’re rendering in batch, as people expect to see the original scene name in exr headers, etc.

Thanks @moshev
I’ll give that a try.

-- Erik