State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:13.2v7|BugID:531812|
Problem summary
Exports fail saying Non-existent channel used for mask when using fade in/fade out transitions with mask blend by alpha enabled on a blend track.
Looking at the Nuke script exported, the issue happens because the Constant node in the FadeIn/FadeOut group only has rgb channels, so when the Dissolve mix is 0, no alpha channel is output, causing the Merge node to error, as it's expecting an upstream alpha channel.,
Customer reported version
nuke.13.2v5
Customer reported platform
Steps to reproduce
1) Open Nuke Studio
2) Import two clips and add them to two tracks vertically on the timeline
3) On the top Video track, check enable blend and mask blend by alpha
4) Select then the top clip> Right click > Editorial > Add Transition > Fade In or Fade Out


import hiero.core OriginalScriptWriter = hiero.core.nuke.ScriptWriter class CustomScriptWriter(OriginalScriptWriter): def __init__(self): OriginalScriptWriter.__init__(self) def addNode(self, node): # List of nodes that should actually be added to the script nodesToAdd = [] # node might actually be a list of nodes. If it is, call onNodeAdded for each one if isinstance(node, hiero.core.nuke.Node): nodesToAdd.append( self.onNodeAdded(node) ) else: try: for n in node: nodesToAdd.append( self.onNodeAdded(n) ) except: pass # Call base class to add the node(s) OriginalScriptWriter.addNode(self, nodesToAdd) def onNodeAdded(self, node): if node.type() == "Group": for n in node.getNodes(): if n.type() == "Constant": n.setKnob("channels", "rgba") return node hiero.core.nuke.ScriptWriter = CustomScriptWriter We're sorry to hear that
Please tell us why