How can I get this to work with Unity WebGL? #269
-
Hello, I am building a Unity WebGL project which includes some MIDI stuff using DryWetMidi. Everything works great while running in the Unity editor but when I build it and run in a web browser, I get the following error: " It doesn't tell me any dynamic libraries it tried to load; it just errors with that message. This error occurs immediately upon calling InputDevice.GetByName(). I tried creating a brand-new Unity project with DryWetMidi to replicate the issue, and it still persists even in a fresh project. I am using the latest version of DryWetMidi (v7.0.0) from the Unity asset store. Any help on this is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I'm afraid it's not possible to use the Devices API of the library within WebGL. In fact, I didn't even test such an integration. |
Beta Was this translation helpful? Give feedback.
Hi,
I'm afraid it's not possible to use the Devices API of the library within WebGL. In fact, I didn't even test such an integration.