Camera orientation issues in replicator.create

Hello,

I was using Replicator for synthetic data generation. I found an issue with camera created through replicator object. Below is the code snippet:

rep.create.camera(name="static_camera", position=(16, -27.5, 6.2), rotation=(60, 0, 90))

When camera is created via code, then the position and rotation are applied on the camera_Xform which is expected.

In addition to this, the camera object also has a rotation of 90, 0, 90.

I am not sure from where this orientation is added.

While searching for a solution, I came across another thread that has replicator code that creates a camera. I tried that code snippet and found that the issue exists there.

This appears to be a bug in Issac v4.2.

Right now, I am manually clearing the rotation of the camera before generating synthetic data.

How can I resolve this issue?

Any help will be appreciated.