How to set the asset_rootto a local path in isaacSim 4.0.0

Hi, I installed Isaac Sim using the PIP method following instruction in Installation using Isaac Sim pip — Isaac Lab documentation.

When trying to run the example “./isaaclab.sh -p source/standalone/demos/arms.py”, the error always occurs:

2024-06-16 13:24:33 [260,341ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 2890 of /buildAgent/
work/ac88d7d902b57417/USD/pxr/usd/usd/stage.cpp -- In </World/defaultGroundPlane>: Could not open 
asset @http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.0/Isaac/
Environments/Grid/default_environment.usd@ for reference introduced by @anon:0x14f98080:World0.usd@</
World/defaultGroundPlane>. (recomposing stage on stage @anon:0x14f98080:World0.usd@ <0x1508bf00>)

Traceback (most recent call last):
  File "/home/jia/Workspace/reinforcement_learning/IsaacLab/source/standalone/demos/arms.py", line 230, in <module>
    main()
  File "/home/jia/Workspace/reinforcement_learning/IsaacLab/source/standalone/demos/arms.py", line 218, in main
    scene_entities, scene_origins = design_scene()
  File "/home/jia/Workspace/reinforcement_learning/IsaacLab/source/standalone/demos/arms.py", line 79, in design_scene
    cfg.func("/World/defaultGroundPlane", cfg)
  File "/home/jia/Workspace/reinforcement_learning/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/spawners/from_files/from_files.py", line 145, in spawn_ground_plane
    collision_prim_path = prim_utils.get_prim_path(
  File "/home/jia/miniforge3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/exts/omni.isaac.core/omni/isaac/core/utils/prims.py", line 631, in get_prim_path
    return prim.GetPath()
AttributeError: 'NoneType' object has no attribute 'GetPath'

Therefore I download the isaac-sim-assets-4.0.0(1-4) and merge into one local folder and intend to let Isaac sim find USD files from this local folder instead of “http://omniverse-content-production.s3-us-west-2.amazonaws.com”.

I modified in envs/isaaclab/lib/python3.10/site-packages/omni/data/Kit/Isaac-Sim/4.0/user.config.json the persistent.isaac.asset_root.default and persistent.isaac.asset_root.nvidia to my local path.

But it seems everytime after I run “./isaaclab.sh -p source/standalone/demos/arms.py”, the user.config.json file will be overwriten (twice) with “default”: “http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.0” again, so it never reads USD files from my local path…

Hi. See: Setup FAQ — Omniverse IsaacSim latest documentation

I have done that, but it doesn’t work for Isaac sim 4.0.0.
Isaac Sim 2023.1.1 works fine.

In Isaac Lab,you should change the app_launcher.py


This will be modified user.config.json during startup isaac-sim
I think your question is similar. A certain configuration was modified user.config.json when isaac sim was started.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.