State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:526157|
Problem summary
Changing the values of the enableTinyPrimCulling and/or maxLights knobs results in an error when the script is reopened, or the nodes are pasted. As a result, the knob values set by the user are not preserved.
Customer reported version
Nuke 14.1v2
Customer reported platform
Rocky 9
Steps to reproduce
1) Open Nuke.
2) Create a Viewer node. Double click it to open its Properties.
3) Navigate to the 3D tab and open the Render Settings dropdown.
4) Check the Enable Tiny Prim Culling knob.
5) Change the value of Maximum number of lights.

6) Copy and paste the Viewer in the Node Graph.
Or save, close and reopen the script.
Expected behaviour
An error should not be returned when copy and pasting the node, or after saving, closing and reopening the script.
Actual behaviour
An error is returned when copying and pasting (or opening a script containing) a Viewer node that has non-default values set for its enableTinyPrimCulling and/or maxLights knobs:

The values you set for these knobs are then not saved, as a result.
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
Nuke 15.1v3 - Windows 11 - macOS 12
Nuke 14.0v1 - Windows 11 - macOS 12
Earliest version tested
Nuke 14.0v1
- This feature did not exist before this version
We're sorry to hear that
Please tell us why