Repository navigation
Description
Title
Recommended USD Stage Tree Structure for Importing Custom USD Scenes into Isaac Lab (Isaac Sim 5.1, Multi-Env Setup)
⸻
Description
I am using Isaac Sim 5.1 together with Isaac Lab (rsl_rl training pipeline) and would like to import a custom-built USD scene into an Isaac Lab task.
I would like to confirm the recommended USD Stage Tree structure, especially when running multiple environments (--num_envs > 1), and clarify several issues we encountered during debugging.
⸻
- USD Stage Tree Structure Question
For a custom USD environment, is the following structure considered the recommended / expected layout for Isaac Lab?
/World
├─ physicsScene
├─ envs
│ ├─ env_0
│ │ ├─ Scene (custom environment geometry, ground, obstacles)
│ │ └─ Robot (robot root prim)
│ ├─ env_1
│ └─ ...
├─ Lights
└─ Props
Key points I want to confirm:
• Is /World required as the root prim for Isaac Lab tasks and sensors?
• In multi-environment setups, should all custom scene content and robots be placed under /World/envs/env_X/?
• Is it expected that relative paths inside each env must be identical, so that config paths such as
prim_path = "{ENV_REGEX_NS}/Robot/chassis_link"
- Multi-Environment + Regex Prim Path Behavior
When running with --num_envs > 1, I use {ENV_REGEX_NS} in sensor and actuator configs.
However, during startup:
• The terminal prints a very long list of USD prim paths
• Then the process exits with a message suggesting:
Questions:
• Does Isaac Lab enumerate all prims matching the regex at startup?
• If a regex-based prim path matches zero prims in some environments, can this cause initialization failure?
• Is this behavior expected if a prim exists in env_0 but not in env_1+?
⸻
- RayCaster Debug Visualization Issue
I encountered the following error when enabling RayCaster debug visualization:
ValueError: Number of markers cannot be zero!
Hint: The function was called with no inputs?
From the stack trace, this occurs in ray_caster.py during the debug visualization callback.
My understanding is:
• This happens when no ray hit points are returned
• The visualizer does not accept zero markers
I would like to confirm:
• Should RayCaster target_prim_paths always reference prims that exist in the simulation stage after all USD references/payloads are loaded?
• In a multi-env setup, should target_prim_paths also use {ENV_REGEX_NS} to avoid empty hit sets?
• Can missing colliders or incorrect prim paths silently lead to zero hits and this visualization error?
⸻
- USD Reference / Asset Path Resolution
We also encountered issues where referenced USD assets (e.g. robot USDs from Nucleus paths) were reported as missing.
To confirm:
• In Isaac Sim 5.1, should all referenced USD paths be resolvable at simulation start, otherwise Isaac Lab initialization may fail?
• Are there known path or asset layout changes between Isaac Sim 5.0 / 5.1 that affect default robot USD locations?
⸻
Summary
In short, I would like guidance on:
1. Best-practice USD Stage Tree structure for custom environments in Isaac Lab
2. Correct handling of multi-environment prim paths and regex matching
3. Proper configuration of RayCaster target prim paths to avoid zero-hit issues
4. Asset referencing expectations in Isaac Sim 5.1
Any clarification or example USD structures would be greatly appreciated.
Activity
[-][Question] Question title[/-][+]Recommended USD Stage Tree Structure for Importing Custom USD Scenes into Isaac Lab (Isaac Sim 5.1, Multi-Env Setup) [/+][-]Recommended USD Stage Tree Structure for Importing Custom USD Scenes into Isaac Lab (Isaac Sim 5.1, Multi-Env Setup) [/-][+][Question] Recommended USD Stage Tree Structure for Importing Custom USD Scenes into Isaac Lab (Isaac Sim 5.1, Multi-Env Setup) [/+]RandomOakForest commentedon Jan 8, 2026
Thank you for posting this. I will move this to our Discussions for follow up. We will aim to provide a summary shortly.