(Fixed) [HOU-2473] Error exporting vrscene per frame

Hello.
I’m getting some really strange errors when exporting my scene as one vrscene per-frame using some expressions in the Export File Path parameter.

And this is the output in the vray log:

So as you can see is starting to export the first 2 frames correctly and then in the third frame getting that weird characters and errors. It is only creating the first to frames.
I have tried to put the whole expression in a spare parameters and and then link to it in Export File Path using a `ch()` but I’m still getting the same problem.
Is annoying because to make it working I have to remove my expression put the whole path manually and then ad the $F4 for the frames, but that obviously breaks all our pipe.

We are using Vray 5.00.50 with H18.5.408 on Windows.

Thanks!

Ok, so I have been digging into this issue and I think is something related to the chs() function, if I use an expression like:
${JOB}/vrscene/${HIPNAME}_chs(“basename”)_ch(“ver”).$F4.vrscene
I got the error.
If I use:
${JOB}/vrscene/${HIPNAME}_${OS}_ch(“ver”).$F4.vrscene
Then it works.
Another thing is that in a simple scene it my expressions using chs() works most of the time.
But in any more or less decetn scene that takes around 10sec/frame to export is when it fails after 2 or 3 frames.

That’s intersting, what is the type of parameter you’re calling? If it’s an iterger or float, better use ch
, chs is intended for strings. When you copy and paste sometimes numeric parameters get linked as strings.

Hey Hristo.
Basically I have a bunch of spare parameters that are connected to our publishing system to get things like shot name, render location, etc …
When I use chs() is because they are referencing to a string parameter, if you use ch() to refer to a string parameter you will just get 0 as result.
My workaround consist in changing calls to chs() by env vars, just using JOB and HIPNAME which breaks our pipeline but well at least we can render :slight_smile:
The thing that is very strange is that this evaluation problem only happens when exporting to vrscene from the vray rop, if you evaluate the parameter from another chs() function, or using python
it works perfectly, is just the export in Vray what fails.

Thanks

In case someone wants to give it a go, this is a file I sent to Gosho replicating some of the issues I found when exporting vrscenes
Cheers
RND_001_fxrig_vrayDeadlinePipe_v01__forChaos.zip (168 KB)

Hey Pablo,

The issue should be resolved in the latest nightly build.

Best regards!

Thanks a lot Gosho!

Hello, sorry for the late response, have some hectic weeks here.
So I tried this nightly build:
vray_adv_50050_houdini18.5.408_9ea6717_13034_windows.zip

It fixes the issue with writing the vrscenes.
But we later found that the UV tiling was broken:

So we have to roll back to the stable version:

But obviously the stable version has the vrscenes bug …
I did a work around in our default render settings to avoid the vrscenes issue but that tilling bug is an important one, that is probably already fixed, but just in case, I notify it here