ID 612728 - Nuke Studio/Hiero crashes when opening a sequence with hiero.ui.openInTimeline() multiple times and editing the Sequences on the timeline.

Follow

Problem summary
Nuke Studio/Hiero crashes when opening a sequence with hiero.ui.openInTimeline() multiple times and editing the Sequences on the timeline.
 
Customer reported version
Nuke 16.0v8
 
Customer reported platform
N/A
 
Steps to reproduce
1) In Nuke Studio, add multiple new empty Sequences.
2) Import any footage, then open the Script Editor
3) Drag and drop the footage into a couple of the Sequences.
4) In the Script Editor, run the following code:

import hiero.coreimport hiero.uidef reproduce_bug():    projects = hiero.core.projects()    if not projects:        return    sequences = projects[0].sequences()    if not sequences:        return    seq = sequences[0]    hiero.ui.openInTimeline(seq)if __name__ == "__main__":    reproduce_bug()
5) In the opened Sequence, drag/drop the footage in the bin to the timeline and select keep clip duration, observing performance. 
6) Repeat step 5 and add a soft effect such as a Grade node.
7) Repeat steps 5-7 until it crashes.
 
Expected behavior
The software should remain stable and allow the Sequence to be populated with clips and soft effects.
 
Actual behavior
Nuke Studio/Hiero hard crashes when attempting to edit the Sequence for any reason. This includes adding a new clip, soft effect, or editing a clip or soft effect already in the Sequence by deleting it or trimming the handles.
 
Workaround
There is no available workaround at this time.
 
Reproduced by Support in:
Nuke Studio/Hiero 16.0v8 Windows 10/11, Rocky 9
Nuke Studio/Hiero 16.0v7 Windows 10/11, Rocky 9 - regression
 
Unable to reproduce bug in:
Nuke Studio 16.0v6 - Windows 10/11, Rocky 9
 
Earliest version tested
Nuke Studio/Hiero 16.0v6 - This issue doesn't appear in this version and has regressed 

    We're sorry to hear that

    Please tell us why