Hot reloading of Custom Omnigraph Nodes doesn't work

Isaac Sim Version

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 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify): Ubuntu 24.04

Topic Description

I want to create and debug a custom Omnigraph node, but to reload any changes I apply, I need to restart IsaacSim.

Detailed Description

(Describe the issue in detail, including what you were trying to do, what you expected to happen, and what actually happened)

Steps to Reproduce

  1. Create a simple extension with the Vs Code extension template generator, including a custom omnigraph node.
  2. Add the folder where the extension was created to the extension search path
  3. Load the extension
  4. Create an action graph
  5. Add the node exposed by the custom extension to the graph
  6. Change the node code, e.g., just set the output of the node to a constant value other than the one given in the default node created by the VS code extension.

Neither reloading the extension (in the extension), nor deleting and re-creating the node in the graph helps (nor combining both). This makes it virtually impossible to debug custom omnigraph nodes in isaacsim.

Could be related to this issue, but deleting the cached does not help unfortunately.

I realized that the following:

  1. Stop the simulation
  2. Delete the custom node from the action graph
  3. Edit the custom node definition
  4. Disable and enable the extension
  5. Add the custom node to the graph

does reflect UI changes to the node (changing the node icon, changing labels/descriptions of inputs/outputs). It seems like changes to the .ogn files are reloaded (not live, one has to deactivate the extension first, but at least…), but the actual .py implementation is ignored once isaacsim is running.

If I omit step (2) from the above procedure, I end up having two nodes of the samy type (my custom node) but different UI properties!

1 Like