Isaac Sim VS Code Edition 0.4.0 Bug

Important: Isaac Sim support

Note: For Isaac Sim support, the community is gradually transitioning from this forum to the Isaac Sim GitHub repository so that questions and issues can be tracked, searched, and resolved more efficiently in one place. Whenever possible, please create a GitHub Discussion or Issue there instead of starting a new forum topic.

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 · GitHub ) 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.

6.0.0
5.1.0
5.0.0
4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

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

GPU Information

  • Model: RTX 4090
  • Driver Version:

Isaac Sim VS Code Edition 0.4.0 bug

Detailed Description

The other day Isaac Sim VS Code Edition got upgraded to 0.4.0. It took me 3 hrs to understand that the bug is not in my code but the new version. Namely when running the code with the extension (any code even import with print is sufficient: import omni.timeline’ print(“Success”)) there is not return to the output console in the vs code. I tested the run, the bridge recives the code and prints in the isaac sim console but there is no return the the vs code. Im assuming the server reply is not handled or something. Example code:

import carb, omni.usd
from pxr import UsdGeom
carb.log_warn(“>>> VS CODE BRIDGE REACHED KIT <<<”)
UsdGeom.Xform.Define(omni.usd.get_context().get_stage(), “/World/VSCodeBridgeTest”)

Thanks for reporting this, and sorry it ate 3 hours of debugging – that’s frustrating.

What’s Happening

This is a version mismatch between the VS Code marketplace extension and the Isaac Sim Kit-side extension. Here’s the breakdown:

  • Isaac Sim 5.1.0 ships with isaacsim.code_editor.vscode v1.1.0, which contains its own built-in TCP server for code execution.
  • Isaac Sim 6.0.0 refactored this into two extensions: isaacsim.code_editor.vscode (v1.2.3, now just a launcher/UI) + a new isaacsim.code_editor.python_server (v1.3.0) that handles code execution with an updated wire protocol.
  • The VS Code marketplace extension v0.4.0 was updated to work with the 6.0.0 protocol. When it talks to the older 5.1.0 server, the code executes on the Kit side (which is why you see the output in the Isaac Sim console), but the response doesn’t make it back to VS Code due to protocol incompatibilities (the new client expects EOF-based message framing and a different response lifecycle than the 5.1.0 server provides).

Workaround

Option 1 – Downgrade the VS Code extension (quickest fix):

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X), find Isaac Sim VS Code Edition
  3. Click the gear icon > Install Another Version…
  4. Select 0.3.x (the last version compatible with 5.1.0’s built-in server)

Option 2 – Upgrade to Isaac Sim 6.0.0:

Isaac Sim 6.0.0 includes the new isaacsim.code_editor.python_server extension that the VS Code 0.4.0 client expects. If upgrading is an option for your workflow, the VS Code extension will work out of the box.

From the 6.0.0 VS Code docs:
“The isaacsim.code_editor.vscode extension […] depends on the isaacsim.code_editor.python_server extension which provides the TCP server for remote Python code execution.”

Going Forward

The VS Code marketplace extension auto-updates by default. To prevent this from happening again while you’re on 5.1.0, you can disable auto-updates for this specific extension: click the gear icon on the extension > Auto Update (toggle it off). That way you stay on a version compatible with your Isaac Sim installation.