ID 500103 - RayRender's slit scan stereo renders incorrectly with the frame server or in terminal mode

Follow

Problem summary
RayRender's slit scan stereo renders incorrectly with the frame server or in terminal mode.

Customer reported version
nuke.12.2v5

Customer reported platform
windows10

Steps to reproduce
0) Open NukeX, set up views for stereo
1) copy/paste the script:
set cut_paste_input [stack 0]version 12.0 v1push $cut_paste_inputCamera2 { translate {0 0 0.25} name Camera1 selected true xpos 221 ypos -364}CheckerBoard2 { inputs 0 name CheckerBoard1 selected true xpos 352 ypos -534}Sphere { name Sphere1 selected true xpos 352 ypos -432}push 0RayRender { inputs 3 projection_mode spherical stereoScan true leftView left rightView right eyeSeparation 0.8 convergenceDistance 1.5 falloffType None name RayRender1 selected true xpos 352 ypos -344}Write { file ./test_%V_####.exr views {left right} file_type exr first_part rgba version 4 name Write1 selected true xpos 352 ypos -264 addUserKnob {20 view_presets l "View Presets"} addUserKnob {4 viewPresets l "View Presets" M {main stereo cams "stereo cams" all}} addUserKnob {22 set l Set -STARTLINE T "w = nuke.thisNode()\nscriptViews = nuke.views()\nviewPreset = w\['viewPresets'].getValue()\nselectedViews = None\nif viewPreset == 0:\n  selectedViews = \['main']\nif viewPreset == 1:\n  stereoViews = \['left', 'right']\n  if set(stereoViews).issubset(set(scriptViews)):\n    selectedViews = stereoViews\n  else:\n    selectedViews = None\nelif viewPreset == 2:\n  selectedViews = \[v for v in scriptViews if 'cam' in v and not ('_left' in v or '_right' in v)]\nelif viewPreset == 3:\n  selectedViews = \[v for v in scriptViews if 'cam' in v and ('_left' in v or '_right' in v)]\nelif viewPreset == 4:\n  selectedViews = scriptViews\nif selectedViews:\n  w\['views'].fromScript(' '.join(selectedViews))\n"}}
2) Render the Write node with frame server enabled.
3) Change the name of the file path and render again, this time with frame server unchecked.
4) Compare the results of the two files.


Expected behavior
Rendering with the RayRender node should appear the same from interactive versus with the frame server or from the terminal.

Actual behavior
Rendering with RayRender is different compared to the terminal or frame server render when rendering in the GUI.

Workaround
Rendering with RayRender from within Nuke with frame server disabled or on the command line with NukeX and an interactive license (--nukex -xi flags) allows the frames to appear correctly.

Reproduced by Support in:
Nuke 13.1v2 - Windows 10, CentOS 7
Nuke 13.1v1 - Windows 10
Nuke 12.1v1 - Windows 10
Nuke 12.0v1 - Windows 10

Unable to reproduce bug in:
Nuke 11.3v6 - Windows 10, CentOS 7

Earliest version tested
Nuke 11.3v6 - This feature did not exist before this version (RayRender did not have the Camera tab and knobs)

    We're sorry to hear that

    Please tell us why