Rep.modify.pose not working headlessly

The function simply does not seem to be executing on anything. I have tried it in both versions 4.1.0 and 4.2.0. It works when I run Isaac sim normally and execute the script through the script editor, but is the only thing that does not work when I run headlessly.

Are you able to provide a log and an example of the script you’re running? What’s your process for initiating headless mode?

There is no error message in the log. I cannot share the entire script, but here are some snippets.

I initiate headless mode like this:

from isaacsim import SimulationApp
kit = SimulationApp({"renderer": "RayTracedLighting", "headless": True})

I modify the pose of the prim like this:

    with prim:
        rep.modify.pose(rotation_x=0, rotation_y=90, rotation_z=0)

Everything else in my script works as before, this function simply does not execute. I have tried changing the arguments, (scale, positions etc) and none work. I can make it visible/invisible just fine. When I try to modify the xformOp:orient attribute, I get errors about quatd typing, though I think that is my fault. I would like to know how to use that function because this does not work as a work-around
rep.modify.attribute(“xformOp:orient”, Gf.Quatd(1., Gf.Vec3d(0., 0., 0.))))

Not sure how helpful this will be but wanted to leave a comment just in case. Based on the naming of prim, I’m guessing that it is a variable of type <class 'pxr.Usd.Prim'>; I believe that rep.modify.pose is meant for replicator items.