I am trying to regularly update the scene based off this tutorial:
However even when it just prints while it runs fine for a few minutes it always ends up giving me the error
OSError:Errno22 Invalid argument
I tried making argument for on_update optional, ie giving it a default value, and the same thing happened. The only way to get things to work again is to restart omniverse code.
Any advice on why it might be crashing with an invalid argument error after a few minutes of working fine?
Hi @paz.zait-givon. I believe this happens on hot-reload if you are not unsubscribing correctly. Make sure you are clearing your subscriptions before or during the extension on_shutdown()