ParticleCache with 'read from file' checked will error when script
is re-opened -- 'Particle Cache out-of-date' -- even though
path to '.nkpc' files is valid.
If read from file is then un-checked & re-checked, the error
will clear. But the script errors again when re-opened
locally or on network.
Customer reported version
Nuke8.0v5
Customer reported platform
Linux Centos 6.5
Steps to reproduce
1: Open your script containing the particle cache
2: Set path in ParticleCache to
'~/cache/particle_cache.####.nkpc'
3: Click Render button in the node, renders '.nkpc' files
4: Check 'read from file' and play in viewer, AOK
5: Save script as 'yourscript.nk'
6: Close and re-open Nuke
Result: ERROR --ParticleCache out-of-date
As a result, scripts saved with ParticleCache cannot render on
network as they always error when re-opened
Workaround
The bug seems to be caused by having a card in the emit input of the ParticleEmitter.
One possible workaround is to use WriteGeo to export the card to an '.abc' file, then load that '.abc' file into a ReadGeo and attach that to the emit input.
Reproduced by support
Nuke8.0v6 - MacOSX
Nuke8.0v1 - MacOSX
Expected behaviour
When re-opening a script, there shouldn't be any particle errors
Actual behaviour
Re-opening a script with a '.nkpc' may cause a 'Particle Cache out-of-date' error.