# Gain Tuner Crash – Missing \`\_joints\` Attribute\*\*

**URL:** <https://forums.developer.nvidia.com/t/gain-tuner-crash-missing-joints-attribute/337301>\
**Category:** Isaac Sim\
**Tags:** isaac-sim-v5-1-0, isaacsim\
**Created:** [June 26, 2025, 6:57pm UTC](https://forums.developer.nvidia.com/t/gain-tuner-crash-missing-joints-attribute/337301 "2025-06-26T18:57:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niranjan\_Sujay](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/niranjan_sujay/32/423991_2.png) [@Niranjan\_Sujay](https://forums.developer.nvidia.com/u/Niranjan_Sujay)\
**Post date:** [June 26, 2025, 6:57pm UTC](https://forums.developer.nvidia.com/t/gain-tuner-crash-missing-joints-attribute/337301/1 "2025-06-26T18:57:48Z")

</div>

I encountered an error while using the **Gain Tuner** extension after loading a manipulator.

- When I clicked to use the tuner, Isaac Sim threw an `AttributeError`:

- The error points to this line in `gains_tuner.py`:

- It looks like `_joints` was never initialized before this method (`compute_joints_acumulated_inertia`) was called.

- I already had a robot loaded, so the issue seems to be internal to the extension.

- Please see the attached screenshot for the full trace.

* * *

Let me know if you’d like to include a version number or path details.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/0/0/c/00c918bc553c3158be1b1a0b30030f6111248e78.jpeg)

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [November 3, 2026, 4:04pm UTC](https://forums.developer.nvidia.com/t/gain-tuner-crash-missing-joints-attribute/337301/2 "2026-11-03T16:04:35Z")

</div>

Thanks for the report and the screenshot, @Niranjan_Sujay.

The `AttributeError: 'GainTuner' object has no attribute '_joints'` was raised from `compute_joints_acumulated_inertia()` in the Gain Tuner extension. In the 5.x versions of the extension (for example `isaacsim.robot_setup.gain_tuner` 3.0.6 in Isaac Sim 5.1.0), `_joints` was only created at the very end of `GainTuner.setup()`. The deferred link-mass update that calls `compute_joints_acumulated_inertia()` only checked that a robot prim was bound. If `setup()` did not complete for the selected robot, the deferred call hit a half-initialized object and crashed on `self._joints`.

This was reworked in later releases and the problem no longer applies to the current release (Isaac Sim 6.2.0, `isaacsim.robot_setup.gain_tuner` 3.11.0):

- `compute_joints_accumulated_inertia()` now returns early unless a robot, an articulation, and a link tree are all bound, so it can no longer run against a half-set-up tuner.
- The deferred link-mass update also catches the “physics tensor not ready yet” case and logs a warning instead of raising.
- Joint setup now reads the robot schema’s `robotJoints` / `robotLinks` relationships. If a DOF is not listed in the robot schema, you get a one-time warning naming the missing joints instead of a crash.

I checked this on Isaac Sim 6.2.0 (aarch64) with a UR10e asset. Calling the inertia computation on a freshly created `GainTuner` before `setup()` returns cleanly with no exception, and `setup()` followed by the inertia computation populates all 6 joints.

**If you are still seeing this:**

1. Update to Isaac Sim 6.2.0 ([download](https://docs.isaacsim.omniverse.nvidia.com/6.2.0/installation/download.html)) and open the tuner from **Tools \> Robotics \> Asset Editors \> Gain Tuner**.
2. Make sure your robot has the Isaac Sim robot schema applied and a valid articulation root. See the [Gain Tuner docs](https://docs.isaacsim.omniverse.nvidia.com/6.2.0/robot_setup/ext_isaacsim_robot_setup_gain_tuner.html).
3. If it still fails, please open a new topic with your Isaac Sim version, the robot asset, and the Kit log, and link back to this one.

Since this was fixed in later releases and there has been no follow-up here, I’m closing this topic. Feel free to open a new one if you run into anything else.

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [November 3, 2026, 4:04pm UTC](https://forums.developer.nvidia.com/t/gain-tuner-crash-missing-joints-attribute/337301/3 "2026-11-03T16:04:38Z")

</div>

Closed on November 3, 2026, 4:04pm UTC


