Drawing FCurve with Empty
The order of execution was indeed wrong. I just put the script node after the &quot;Curve Object Output&quot;, even if the Object input for the script is unneeded, it is required for the execution order.

It seems that the order of execution is in the non-fixed version undefined, but I'm not sure about that, I couldn't find anything in the docs about it.