Can't locally use Isaac Assets

Isaac Sim Version

4.5.0

Operating System

Windows 11

GPU Information

  • Model: RTX 4070 Laptop
  • Driver Version: 572.70

Topic Description

Detailed Description

I have downloaded Isaac Assets to my own computer, and have edited the “isaacsim.exp.base.kit” file following the Isaac sim documentation.

It works well if I open Isaac sim app via the command: “.\isaaclab.bat -s”. When I check the default Assets root path, it shows my local address. Everything is OK.

However, if I open Isaac sim app via Python script, such as “.\isaaclab.bat -p .\scripts\tutorials\00_sim\create_empty.py”, then check the default Assets root path, it shows the default online address.


And the logs in the terminal are as follows.

So, I can’t open Isaac Assets if I use Python script. What’s the problem? Thank you very much.

In the IsaacLab folder, go to

source\isaaclab\isaaclab\utils\assets.py

Change line

NUCLEUS_ASSET_ROOT_DIR = carb.settings.get_settings().get("/persistent/isaac/asset_root/cloud")
to
NUCLEUS_ASSET_ROOT_DIR = ("C:/isaacsim_assets/Assets/Isaac/4.5")

Then try the installation check python .\scripts\reinforcement_learning\rsl_rl\train.py --task=Isaac-Velocity-Rough-Anymal-C-v0 --headless

1 Like

Thank you so much. Now, I can load Assets via Python scripts.

BTW, for anyone wishing not to hard code the path in source file,
edit

path_to_isaaclab_venv\Lib\site-packages\omni\data\Kit\Isaac-Sim\4.5\user.config.json

by changing line 11 to "cloud": "C:/isaacsim_assets/Assets/Isaac/4.5", and pay attention to the comma at the end of the line

2 Likes

@mscwu thanks for the tip! 👍

1 Like