I’m trying to modify the script in order to use my own usd environments and objects. I have tried inputting to url the path of the object but it does not work. What’s the correct way to reference the files?
@rryyxz i am just another user, but can you first check to see if your custom USD has a defaultPrim? feel free to look at another post where i’ve outlined the issue if there isn’t one:
Thanks for replying, but I’m so confused. Can you go over this step by step? I have an object called ‘object1.usd’. Dp i put it under the World xform and have World as a defaultPrim? And how do i reference ‘object1.usd’ in the python script?
and in both cases, we see the DefaultPrim has been designated to the top prim in the stage hierarchy (with the fewest indentions). and it’s just an xform prim called Root.
so if you were to open object1.usd directly, you can follow the same hierarchy and naming convention (for consistency’s sake) by:
creating an empty xform (right click in stage panel, and choose Create > Xform in the flyout menu)
rename the xform as Root
drag your pre-existing stage hierarchy contained in object1.usd to under Root
make Root the stage’s DefaultPrim by right clicking on Root and Set As Default Prim within the stage panel.
save object1.usd for this change to take effect whenever this USD gets referenced elsewhere
step 4, i believe, is the important step in making sure you designate the DefaultPrim in your USD file.
when you invoke the custom asset’s URL/path, that’ll make sure the children under DefaultPrim comes through, since that’s the path replicator will use to reference the assets into your stage automatically, given that it’s a valid path.
Prim ‘/World/Labeled/object1_05’ has no colliders. Skipping rigid body dynamics properties.
2025-10-28T01:47:38Z [13,749ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 3172 of C:\g\169973693\USD\pxr\usd\usd\stage.cpp – In </World/Labeled/object1_06>: Could not open asset @https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/5.0C:/Users/Admin/Downloads/atmMachine.usd@ for reference introduced by @anon:0000018CB14741F0:World1.usd@</World/Labeled/object1_06>. (recomposing stage on stage @anon:0000018CB14741F0:World1.usd@ <0000019A1FF3C620>)
2025-10-28T01:47:55Z [29,841ms] [Error] [omni.kit.app._impl] [py stderr]: Traceback (most recent call last):
2025-10-28T01:47:55Z [29,841ms] [Error] [omni.kit.app._impl] [py stderr]: File “C:\Users\Admin\Downloads\isaac-sim-5.0\standalone_examples\replicator\object_based_sdg\object_based_sdg.py”, line 572, in
2025-10-28T01:47:55Z [29,842ms] [Error] [omni.kit.app._impl] [py stderr]: apply_velocities_towards_target(chain(labeled_prims, shape_distractors, mesh_distractors))
2025-10-28T01:47:55Z [29,843ms] [Error] [omni.kit.app._impl] [py stderr]: File “C:\Users\Admin\Downloads\isaac-sim-5.0\standalone_examples\replicator\object_based_sdg\object_based_sdg.py”, line 383, in apply_velocities_towards_target
2025-10-28T01:47:55Z [29,843ms] [Error] [omni.kit.app.impl] [py stderr]: prim.GetAttribute(“physics:velocity”).Set(pull_vel)
2025-10-28T01:47:55Z [29,843ms] [Error] [omni.kit.app.impl] [py stderr]: pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_24__pxrReserved::UsdStage::_SetValueImpl’ at line 6703 in file C:\g\169973693\USD\pxr\usd\usd\stage.cpp : ‘Empty typeName for </World/Labeled/object1.physics:velocity>’
@rryyxz the issue relates to Isaac Sim not able to open the USD. if you look at the path above (in green), it doesn’t look correct as it is prefaced with the AWS Isaac Sim is using before the actual path of the asset on your C drive. so you may need to modify your path within your snippet to use the absolute path directly from the C drive rather than concatenate them together.