Hello,
I have encountered what seems like a bug with the script CHOP. The problem is that when the script cooks, the onSetupParameters method is run beforehand at every frame instead of running only when the setup button is pushed.
I made a toy example with a TOP before and a null CHOP set to “always cook” so that the script always cooks, the script initializes a value to 1 with the setup method and changes it to 0.9 and then, at next frame) to 0 with the cook method. However, when running the script, the value never goes to 0 which means that the setup method is run before the cook method on every frame.
I’m on windows with an AMD graphic card (Radeon RX 5600 XT) and a Intel processor (i5) and I had the bug on each version 2020.46540 and 2021.11180 (free license).