Gain test generator error... what is the problem?

Note: For any Isaac Lab topics, please submit your topic to its GitHub repo ( GitHub - isaac-sim/IsaacLab: Unified framework for robot learning built on NVIDIA Isaac Sim ) following the instructions provided on Isaac Lab’s Contributing Guidelines ( Contribution Guidelines — Isaac Lab Documentation ).

Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.

Isaac Sim Version

5.1.0

Operating System

Ubuntu 22.04

GPU Information

  • Model: geforce 3060
  • Driver Version: NVIDIA-SMI 580.95.05, Driver Version: 580.95.05, CUDA Version: 13.0

Topic Description

Isaac Sim Gain Tuner extension triggers persistent errors even when the extension is disabled and no gain-tuning actions are performed.

Detailed Description

I am encountering a persistent Python error originating from the isaacsim.robot_setup.gain_tuner extension.
The issue occurs even though I am not using the Gain Tuner, and even after disabling the Gain Tuner extension in the Extensions window.

usdfile: https://github.com/TrossenRobotics/trossen_ai_isaac

What I was trying to do

I simply launched Isaac Sim, loaded my robot USD (mobile_ai), and pressed Play to run the simulation. I did not open the Gain Tuner window nor attempt any gain-tuning operation.

What I expected to happen

Simulation should run normally without any involvement of the Gain Tuner extension.

What actually happened

As soon as simulation starts, Isaac Sim repeatedly prints the following error from gains_tuner.py:

TypeError: 'NoneType' object is not an iterator
next(self._gains_test_generator)

This error loops continuously every frame, even after I disable the Gain Tuner extension (isaacsim.robot_setup.gain_tuner) and restart the simulation session.

It appears that the Gain Tuner callback (update_gains_test) continues to execute even when the extension is disabled.

Steps to Reproduce

  1. Open Isaac Sim (5.1 version)

  2. Load a robot USD (e.g., /mobile_ai/mobile_ai.usd)

  3. Press Play in the viewport

  4. Observe console/log output

  5. Disable the Gain Tuner extension:

    • Window → Extensions → gain tuner → disable
  6. Restart simulation session and press Play again

  7. The same error continues to appear every frame

Error Messages

Traceback (most recent call last):
File “…/isaacsim.robot_setup.gain_tuner/gains_tuner.py”, line 630, in update_gains_test
next(self._gains_test_generator)
TypeError: ‘NoneType’ object is not an iterator
This message repeats continuously every frame.

Screenshots or Videos

Additional Information

  • Robot root articulation prim: /mobile_ai/base_footprint

  • ROS2PublishJointState and ArticulationController nodes are working normally

  • The error appears without opening the Gain Tuner interface

  • The error persists even after disabling the extension in the Extensions manager

  • The issue looks like the Gain Tuner callback remains registered and continues executing after extension unload

What I’ve Tried

  • Disabled the Gain Tuner extension from Window → Extensions

  • Restarted Isaac Sim after disabling the extension

  • Closed any Gain Tuner-related UI panels

  • Verified that other extensions are not dependent on Gain Tuner

  • Restarted simulation multiple times

None of these steps stop the update_gains_test() callback from executing.

Related Issues

Additional Context

This prevents normal simulation because the console is flooded with errors.
I am not intending to use the Gain Tuner at all, so I simply need a way to stop the callback from executing when the extension is disabled.

This may be a bug in the extension lifecycle or event callbacks not unregistering properly.

Add my usd file

mobile_ai_v1.zip (773.1 KB)

I followed the reproduction steps you listed, but after step 3 I didn’t observe any gains tuner-related messages in the console or kit log on Isaac Sim 5.1.0.

Could you confirm whether you still see the error if you launch Isaac Sim using the --reset-user flag and then repeat the same steps?