ID 344280 - The 'ParticleCache' node cannot be rendered via command prompt

Follow

Problem summary
The 'ParticleCache' node cannot be rendered via command prompt through a script terminally and gives the following error:

ERROR: ParticleCache1: ParticleCache data not found

Note: The same process with a 'Write' node functions as expected.

Customer reported version
nuke.11.1v1

Customer reported platform
Multiple

Steps to reproduce

Open attached script and start from step 6

or

1) Open a new Nuke script

2) Create a 'ParticleEmitter' node

3) Create a 'ParticleCache' node and connect to 'ParticleEmitter' node using the 'particles' input

4) In the 'ParticleCache' node, set the location of the file location to the same location as the script. (ensuring that you are using file padding)

5) Save the script as ParticleCacheRender.nk

6) Open up a command line window

7) Locate your Nuke release version in the command prompt eg.

cd C:\Program Files\Nuke11.1v1

8) Once in the directory, enter the following code to render the script (changing to your directory location)
Nuke11.1 --nukex -X ParticleCache1 path\to\ParticleCacheRender.nk​
Result: ParticleCache1: ParticleCache data not found


Workaround
Our suggested workaround would be the following:
After step 7...

1) Once in the directory, enter the following code to open to use allow terminal input
Nuke11.1 -t  path\to\ParticleCacheRender.nk

2) Once the script is loaded in terminal mode (shown by three right arrows), run the following code to render using the GUI callback.
nukescripts.cache_particles_panel(nuke.toNode("ParticleCache1"))
Result: 'ParticleCache' will not error and render correctly

Reproduced by support
This bug has been reproduced in:
Nuke 11.1v3 - Windows 7
Nuke 11.1v1 - Windows 7
Nuke 11.0v4 - Windows 7
Nuke 11.0v1 - Windows 7
Nuke 10.5v7 - Windows 7
Nuke 10.5v1 - Windows 7
Nuke 10.0v6 - Windows 7
Nuke 10.0v1 - Windows 7
Nuke 9.0v9 - Windows 7
Nuke 9.0v1 - Windows 7
Nuke 8.0v7 - Windows 7
Nuke 8.0v1 - Windows 7

Earliest version tested
Nuke 8.0v1
- The 'ParticleCache' node did not exist before this version

Expected behaviour
The 'ParticleCache' node should be able to execute a render via the command prompt, as per the Write node

Actual behaviour
The 'ParticleCache' node does not render via the command prompt

    We're sorry to hear that

    Please tell us why