ID 572728 - The Divider line User knob becomes duplicated exponentially on the Root when opening/closing scripts in the same Nuke session.

Follow

Problem summary
The Divider line User knob becomes duplicated exponentially on the Root when opening/closing scripts in the same Nuke session.
 
Customer reported version
Nuke 13.1v5
 
Customer reported platform
CentOS 7
 
Steps to reproduce
1) In Nuke, open the Project Settings (S)
2) Right-click the Project Settings and select Manage User Knobs.
3) Select Add, then create a Divider line knob.
4) Save the script then Select File > Clear or Close Comp to close the comp.
5) Reopen the saved comp and press S to observe the User tab for any custom user knobs.
 


 
Expected behaviour
The Divider line knob should be unable to duplicate itself.
 
Actual behaviour
The custom User knob for Divider line becomes duplicated when opening/closing Nuke scripts in the same Nuke session that contain the custom User knob on the Root node. This causes scripts to slowdown and large file sizes when saving.
 
Workaround
Using the following Python command to clear the custom User knobs allows the scripts to be loaded as expected: nuke.scriptClear(clearUserKnobs=True)
 
Reproduced by Support in
Nuke 15.0v4 - Windows 11, macOS 13 Ventura (Intel)
Nuke 12.0v1 - Windows 11, macOS 13 Ventura (Intel)
 
Earliest version tested
Nuke 12.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why