Execute operator in duplicated comp

I am trying to run an execute python script operator in replicated comps.

My problem is that the script only start when I open the duplicated comps. I need to open individually each one of them.

I have tried onCreate, on frames start, onPlayState change but nothing seems to work.

Any help would be much appreciate.

Thank you very much.

Have you tried running your code from the replicator callbacks?

When exactly do you want it to run? I’m assuming it’s when they are created.

Right now for debuging reason I run it at play state change.

But i didnt try to run it from the replicator call back.

Thanks, I’m trying that right now.