Hi, I’ve been encountering an issue with the HTML5 EventDescription and EventInstance callbacks in fmodstudio js 2.1.07. Whenever I set the callback of an EventDescription and then attempt to create an instance, it will throw an ambiguous error that says that a handle was destroyed and the handle = 0.
Also if I’ve set a callback with an EventInstance directly, and I attempt to release it, I will get the same error unless I set the callback to null right before releasing. Is this a bug, or is there something about JS/Emscripten I am unaware of to use it correctly?
I’ve also set Callbacks to deferred in the Studio System initialization, and the event description/instance callbacks are being set to a function in the global scope.
Thank you for your help,