Replicator composer crashes on 2nd execution


I am trying to generate synthetic data using the latest version of Omniverse Code (2022.2.0). When I execute the replicator script for the first time, everything seems to work fine and data is also generated with all the configuration.

However, when I make changes in the script and try to run it again, it crashes and I have restart code again which is really bothersome when you are making frequent changes in script editor. I am attaching the snapshot of the error I am getting as I wasn’t able to copy the logs from the console for reference.

Please let me know how to solve this issue.
P.S. I already tried re-installing Omniverse Code and there are no previous version present in the system.


Thanks, @mayank.ukani I am also facing the same problem. Is there any solution available so far?

A development ticket was created from this post. OM-77495: Replicator composer crashes on 2nd execution

Hello @muhammad.altaf13028, thanks for reaching out. Definitely understand the frustration. Would you be able to share your function tote_config? The problem you’re encountering appears to occur when registering this function a second time.