Repository navigation
Closed
Description
A local USDA containing a remote asset as a sublayer fails to compose in the
Kitless Newton runtime.
Loading the remote asset directly through CARTPOLE_CFG works because Isaac Lab
mirrors it with retrieve_file_path(). When UsdFileCfg.usd_path points to a
local USDA, its remote sublayers are not mirrored and the active OpenUSD resolver
does not resolve the remote URL.
Consequently, Isaac Lab cannot discover the Cartpole articulation or its joints.
Steps to reproduce
Place these files in the same directory.
cartpole_remote_sublayer_repro.py:
from pathlib import Path
import isaaclab.sim as sim_utils
from isaaclab.app import launch_simulation
from isaaclab.assets import Articulation
from isaaclab.sim import SimulationContext
from isaaclab_assets.robots.cartpole import CARTPOLE_CFG
from isaaclab_newton.physics import NewtonCfg
LOCAL_USD = Path(__file__).with_name("cartpole_remote_sublayer.usda")
sim_cfg = sim_utils.SimulationCfg(device="cuda:0", physics=NewtonCfg())
with launch_simulation(sim_cfg):
sim = SimulationContext(sim_cfg)
cartpole_cfg = CARTPOLE_CFG.copy()
cartpole_cfg.prim_path = "/World/Cartpole"
cartpole_cfg.spawn.usd_path = str(LOCAL_USD)
cartpole = Articulation(cartpole_cfg)
sim.reset()
print(cartpole.joint_names)cartpole_remote_sublayer.usda:
#usda 1.0
(
defaultPrim = "cartpole"
subLayers = [
@https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/6.1/Isaac/IsaacLab/Robots/Classic/Cartpole/cartpole.usd@
]
)
over "cartpole"
{
}
Run:
python cartpole_remote_sublayer_repro.pyRelevant output:
Could not load sublayer @https:/omniverse-content-production.../cartpole.usd@
of layer @cartpole_remote_sublayer.usda@; skipping.
No articulation-root targets matched expression '/World/Cartpole(/.*)?';
nothing was authored.
RuntimeError: USD stage has composition errors while loading provided stage:
- Could not load sublayer ... cartpole.usd
Expected behavior
Isaac Lab should resolve and locally mirror remote dependencies referenced by a
local USD layer, allowing the Cartpole articulation to initialize with:
slider_to_cart
cart_to_pole
System Info
- Commit:
d4e28cd50e521bdfa7e9389af5246fb87651c554 - Isaac Sim Version: Kit-less
- OS: Ubuntu 24.04.5 LTS
- GPU: NVIDIA RTX 6000 Ada Generation
- CUDA: 13.0 container
- GPU Driver: 595.84
- Newton: 1.6.0
- Warp: 1.17.0
Checklist
- I have checked that there is no similar issue in the repo
- I have checked that the issue is not in running Isaac Sim itself and is
related to the repo
Metadata
Metadata
Assignees
Labels
No labels
Activity
[Core] Resolve nested local and remote USD dependencies (isaac-sim#8011)
Junnosuke/code stable (#27)
Junnosuke/rough terrain locomotion (#29)