Count CHOP stops updating when its network layer is inactive

Count CHOP only counts/updates while the layer (component) containing it is the active/displayed layer. When the layer is not active, the Count CHOP stops responding to its trigger/input, even though other CHOPs continue to cook normally in inactive layers. This can be seen via prints in the console.

Steps to reproduce:

    1. Create a Timer CHOP set to a 1s length, with “onDone” set to restart (so it loops continuously).
    2. Use the Timer’s onDone callback (via its callback DAT) to trigger a Count CHOP on each cycle and print the Count.
    3. Place the Timer and Count CHOP inside a component/network layer.
    4. While viewing that layer, confirm the Count CHOP increments once per second as expected.
    5. Navigate to a different layer so the layer containing the Timer/Count CHOP is no longer active.
    6. Pull up the console to see it continue printing once per second, but not incrementing the count.

Expected: Count CHOP should continue counting regardless of whether its containing layer is currently active/displayed, consistent with other CHOP operators.

Actual: Count CHOP only processes updates while its layer is active.

Reproduced in:

  • TouchDesigner 2025.32050

  • TouchDesigner 2023.12000

Hi @him

this might be a case where the Count CHOP is not cooking because it is not needed. If something using the output of the Count CHOP value is displayed in the final output, the Count should update as expected.
If it is placed as the last element in a branch that does not go any further, the Count CHOP will stop cooking when not looked at.

If this doesn’t describe your case, could you attach a sample file which illustrates the behavior you are observing?

cheers
Markus

1 Like

Thanks @snaut -

connecting a Null CHOP with “Cook Type: Always” solved it!