Skip to content

[Question] Is making the robot instanceable necessary? #4393

Closed

Description

@e-ndorfin

Question

Currently experimenting with Isaac-Franka-Cabinet-Direct-v0 task and within franka_cabinet_env.py, when I run the simple code

robot_prim = stage.GetPrimAtPath("/World/envs/env_0/Robot")
print(robot_prim.IsInstanceable())

It prints False. Additionally, when I open the IsaacLab UI and click on the Prim, it also says under Properties that it's not instanceable.

This is weird as it explicitly uses the USD path {ISAACLAB_NUCLEUS_DIR}/Robots/FrankaEmika/panda_instanceable.usd which makes it sound like it should be instanceable.

I'd like to know more about this as I'm trying to setup a custom environment with UR5 robot and the USD file just says ur5.usd, so I'm trying to find out if I have to make it instanceable or if this is not necessary.

I've tried downloading ur5.usd and other components (ur5_sensor.usd and others) and so I can open IsaacSim and manually make it instanceable, however this greatly restricts the customisability that I have in my env environment over the joints (as expected).

Build Info

Describe the versions that you are currently using:

  • Isaac Lab Version: 2.2.1
  • Isaac Sim Version: 4.5.0

Activity

  1. PeterL-NV commented on Jan 15, 2026

    @PeterL-NV
    Contributor

    Hi, It depends on your scenario. Making a robot asset instanceable is highly recommended for Isaac Lab simulations, particularly for large-scale scenarios like reinforcement learning (RL), but it is not strictly necessary for simple, single-robot simulations.

    Why Instancing is Recommended

    • Memory Efficiency: The primary reason for using instanceable assets is to optimize memory usage. In RL, training often involves running multiple parallel simulations (clones) of the same environment and robot. Instancing ensures that common meshes and data are loaded into memory only once and then referenced by each copy, rather than creating a unique copy for every instance.
    • Performance: By reducing redundant data in memory, instancing helps maintain high performance and scalability, which is crucial for efficient data generation and training complex policies.
    • Scalability: Isaac Lab is built for scalable, GPU-accelerated simulations. Instancing is a core feature of the Universal Scene Description (USD) framework that enables this scalability.

    When It Might Not Be Necessary

    If you are only running a single simulation instance, for example, for testing or visualization of a single robot, the memory benefits of instancing are less critical, and a non-instanceable asset may work. In fact, working with non-instanceable assets might allow for greater flexibility in modifying individual components or properties of the robot's joints and meshes directly in the USD stage, which can be useful during the initial asset setup or debugging phase.

    Best Practice

    For any project intended for large-scale training or deployment within the Isaac Lab framework, the recommended workflow is to make the robot instanceable. The Isaac Lab documentation and asset importers provide options to automatically handle the necessary USD hierarchy adjustments to enable instancing, usually as a simple checkbox option when importing from formats like URDF or MJCF.

    You can find more details on this in the Instanceable Assets - Isaac Sim Documentation.

  2. e-ndorfin commented on Jan 20, 2026

    @e-ndorfin
    Author

    Hi, sorry @PeterL-NV . I don't think your response answers my question - I was asking as to why even though I know that it is recommended that we have instanceable robot assets, the example environment clearly does not use it. Am I checking the wrong "instanceable" attribute? Or is the example just not instanceable.

  3. PeterL-NV commented on Jan 21, 2026

    @PeterL-NV
    Contributor

    Hi, panda_instanceable.usd is authored so that its payload can be used as an instancing source (proper defaultPrim layout etc.), which is why it carries the “instanceable” name.

    Whether the prim in the environment is actually an instance depends on how the spawner is configured (copy_from_source, cloning vs. inheritance, and the ArticulationCfg/asset cfg in the task), not just on the USD filename.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions