ID 419490 - A crash occurs when viewing a ParticleExpression node with chans set to any expression and new_channels set to None.

Follow

Problem summary
A crash occurs when viewing a ParticleExpression node with chans set to any expression and new_channels set to None.


Customer reported version
nuke.12.0v3


Customer reported platform
windows10


Steps to reproduce

1) From Nuke, create a ParticleEmitter node.

2) Create a ParticleExpression node, and press 1 on the keyboard to view it.

3) In the ParticleExpression properties, set chans to 1.

4) Set the new_channels to None and observe performance.


Expected behavior
The ParticleExpression should be viewed and Nuke should remain stable.


Actual behavior
Nuke crashes with an error in the command prompt: "vector<T> too long." If the Viewer is attached to the ParticleExpression node after setting new_channels to None, the error will appear as a pop-up and the particles will no longer function until closing Nuke.


Workaround
There is no available workaround at this time.


Reproduced by Support in

Nuke 12.0v3 - Windows 10, CentOS 7, macOS 10.14

Nuke 12.0v1 - Windows 10

Nuke 11.3v5 - Windows 10

Nuke 11.3v1 - Windows 10, CentOS 7, macOS 10.14


Unable to reproduce bug in:
Nuke 11.2v7 - Windows 10


Earliest version tested
Nuke 11.2v7 - This issue doesn't appear in this version and has regressed


    We're sorry to hear that

    Please tell us why