Hot reloading extensions from VS Code leads to error

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

4.2.0
4.1.0
4.0.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Isaac Lab Version (if applicable)

1.2
1.1
1.0
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: 3070 mobile
  • Driver Version: 550.120

Topic Description

Detailed Description

Hot reloading extension in IsaacSim does not work. When saving the file in VS Code, I get the error message “[Error] [omni.isaac.vscode.extension] [Errno 90] Message too long len:212926” and nothing happens (the python extension is not reloaded).

Steps to Reproduce

  1. Open Isaac Examples/Hello World
  2. Open the source code in VS Code
  3. Press Ctrl+S to save the file in VS Code

Error Messages

[Error] [omni.isaac.vscode.extension] [Errno 90] Message too long len:212926

I couldn’t reproduce the error message. This is the output on my side:

[38.454s] [ext: omni.isaac.sim-4.2.0] shutdown
[38.455s] [ext: omni.isaac.sim.base-4.2.0] shutdown
[38.455s] [ext: omni.isaac.examples-3.0.2] shutdown
2024-11-20 00:25:42 [38,602ms] [Warning] [omni.ext._impl._internal] omni.isaac.examples-3.0.2 → <class ‘omni.isaac.examples.franka_cortex.franka_cortex_extension.FrankaCortexExtension’>: extension object is still alive, something holds a reference on it. References: [“[0]:type: <class ‘method’>, id: 130640572971840”]
[40.131s] [ext: omni.isaac.examples-3.0.2] startup
[41.546s] [ext: omni.isaac.sim.base-4.2.0] startup
[41.546s] [ext: omni.isaac.sim-4.2.0] startup

Could you review the steps or share a screencast to help reproduce the issue?

After restarting my system, I cannot reproduce the error message either and hot reloading works, although I suspect not as intended. It is faster to restart IsaacSim and re-open the extension (<30 seconds total, consistent) than to reload the world using the load button (>30 seconds, up to 3 minutes, inconsistent) after the extension is changed, i.e. hot reloading makes the workflow slower.

Thank you for providing an update on your experience with hot reloading in Isaac Sim. It’s great to hear that the initial error you encountered is no longer reproducible after restarting your system.

However, the performance issue you’ve described with hot reloading is indeed concerning and warrants further investigation. Since this appears to be a separate issue from the original error message, it would be helpful if you could create a new forum topic specifically addressing this performance problem.