State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:589718|
Problem summary
Expressions stop evaluating when going through merge nodes after metadata has been queried 48 times via Python or TCL
This happens with at least Switch, Dissolve and Merge nodes, or a mix of different Merge nodes
Customer reported version
nuke.14.1v5
Customer reported platform
windows11
Steps to reproduce
1) Open the attached Nuke Script
The Nuke script has different examples, with each one using an expression to query the current metadata, if it is exists, set the nodes input. The input should always be input 1, which contains a Grade adding 0.1 to the red channel. Below is the Python expression used:
if nuke.thisNode().metadata(): ret = Trueelse: ret = False


We're sorry to hear that
Please tell us why