Absolute path for Assets - Isaac Sim WebRTC streaming client

Isaac Sim Version

5.1.0
[ X] 5.0.0
4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 24.04
Ubuntu 22.04
[X ] Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: RTX 5090 / 4070 / 3080
  • Driver Version: 580.65

Topic Description

Use absolute path for Assets added from browser, in spite of relative path: Isaac Sim WebRTC streaming client

Detailed Description

Environment:

  • We use Isaac Sim WebRTC streaming client.
  • We add our Assets from Isaac Sim Assets with the Browser (configured for using local assets).
  • We launch our headless Isaac Sim as container.
  • Our Docker Compose use Isaac Sim’s setup from file isaacsim.exp.base.kit

We need:

  • Reference our local assets with absolute paths instead of relative paths (by default Isaac Sim references them as relative to the project).

We have tried some configuration changes in our container and in our Isaac Sim configuration but not effect.

Steps to Reproduce

Error Messages

Screenshots or Videos

Asset referenced with Relative Paths after config change:

Additional Information

What I’ve Tried

  • Modify our isaacsim.exp.base.kit. Adding to the end of [ setting ] block:
      • exts.“omni.usd”.authoring.makePathsRelative = false

  • Restart our Container.
  • Reconnect our Isaac Sim WebRTC streaming client.
  • Result:
    • Assets Paths keep referenced as relavites as previously to changes ( as showed in screenshot)

In addition we have visited but not solution found out:

Related Issues

Additional Context

Hi. By default, Isaac Sim uses the https:// path to the online assets. These assets are not editable.

To edit them to change the references, you can download it to your local disk then edit it.

Try also using our assets packs and change the default path to use local editable assets. See Setup Tips — Isaac Sim Documentation

Hello.

We have already local assets paths (following instructions from: Local Assets Packs):

  • Downloaded the recommended package
  • Currently managing assets from local path (screenshot: We are checking that Isaac Sim Assets browser is pointing to local path):

We have tried:

  • Modifications descripted in our original post message to try to have absolutes local paths in spite of relative local paths
  • Still paths are added as relatives.

Need:

    • Change configuration to have an absolute local path for the added assets.
    • Below showed .usda of Example: Added o3dyn_pallet asset from Isaac Sim Assets browser to an empty scene:
      • We can see that we have a local relative path to the asset.
      • We would need it to be added with a local absolute path

Thanks for your support.

Looks good.

Now with using local assets path, you should be able to open a USD file and edit it in Isaac Sim. Then change the reference path on an assets to any absolute path.

Try checking if the file download have correct user permissions if you have issues saving the file.

Hello, thanks for your quick answer.

We have permission to edit the files, we did not find issues saving the files.

We’re currently working the way you have suggested:

  • Add to the scene local assets from the browser or the content menu –> Assets are added with local relative paths.
  • Manually or with a script, rewrite the asset paths to have absolute paths.

Question: Can we modify the Isaac Sim WebRTC Streaming Client configuration so that when adding the asset from the browser or content menu, it is added directly with absolute paths?

Perhaps by modifying the configuration of the headless Isaac Sim WebRTC Streaming Client container, or by modifying isaacsim.exp.base.kit, or directly some option within the client itself?

This would allow for a faster and less error-prone workflow.

Hi. Not sure if I understand your question correctly. I think you are are asking if there is a way to automatically edit references in the local USD assets (that was added/opened via the content browser) to use absolute paths.

I don’t know if there is a quick way to convert the existing relative paths to absolute paths in the app. You can definitely do this with python scripts or editing the Content Browser extension.

Try also using the “Collect Asset” tool in the Content Browser to download all referenced assets. This may create a copy of the referenced assets with absolute paths to a specific folder.

Currently, there is no special config for the Isaac Sim WebRTC Client itself. It just streams the Isaac Sim app window to the client app. Configuration and scripts are run on the Isaac Sim host.

1 Like

another 2c - one could combine it with the USD Paths utility if it helps to see all the paths at once. i sometimes do that on a workstation installation with external assets to keep an eye out for stray paths. may have to enable the extension in Isaac Sim, if you do not see it in the menu.

2 Likes

Hello again.

Thanks for your response, relevant info there.

@Sheikh_Dawood;

  • Our project requires all added asset paths to be locals and absolutes.
  • We currently have the Assets packages downloaded locally and the client configured to use local paths when adding from the Assets Browser.
  • We are looking for an option in the Isaac Sim WebRTC Streaming client version (v5.0) to directly add the paths as absolutes, avoiding to rework the paths later by applying a Python script to convert relative paths to absolute paths.
  • From your responses and from what we’ve tested, it appears that in the Isaac Sim WebRTC Streaming client version (v5.0), local paths are added as relatives, and the option of being added as absolute paths does not exist.

We will apply a Python script (or edit it manually) after adding the assets to convert the local relative paths to absolute paths. Perhaps for future versions, you could consider adding this option to let choosen among relative/absolute local paths; it would add flexibility to the client’s use for potential project needs.

@Symplychenable;

  • Thanks for sharing the extension. We’ve tested it and it seems be useful for repairing paths or making bulk changes. Very interesting.
1 Like