Replicator writer inconsistently writing on step

I’m trying to modify a scene, schedule a write, and then step and write the rendered images. However, it seems that when I call orchestrator.step_async, despite my having just scheduled my writer to write, the writer sometimes just doesn’t write. Only when I next step does the writer write the previous frame’s data. Does anyone know what could be going on here?