OSL -> standalone export: windowbox shader doesn't work

I found another shader that doesn’t work unfortunately. It’s the windowBox shader from julius ihle ( Playing with OSL #3: WindowBox Shader | Julius Ihle ). It works in Max but it renders completely black in Vray Standalone. This is a mission critical shader for us where we unfortunately do not have a workaround at this point because we can’t bake it down =/ .

Max 2020.2
Vray4Max Next, update 2.1 (4.20.01.29513)
Vray Standalone Build 29514 from Sep 19 2019, 03:15:21

Attached is a screenshot from a render in max and a scene for debugging.
OSL_WindowboxShader.zip (706 KB)

So I just remembered the VrayOSLTex and tried the same thing with it. It works in both max and standalone but ONLY when I use a standard bitmaptexture input for the shader. It does not work in standalone when I use a max osl “Bitmap Lookup” node instead. It only renders fine in max. I’ve attached another scene for inspection.
OSL_WindowboxShader_VrayOSLTex.zip (350 KB)

Thanks for the report. I’ll forward the information to our developers.