StreamDeckSharp icon indicating copy to clipboard operation
StreamDeckSharp copied to clipboard

AppDomain reload problem in Unity3D

Open sloopidoopi opened this issue 2 years ago • 1 comments

Hi, I tried to integrate the lib into a Unity 3D application. The connection to the device works, but unfortunately there are problems in the Unity editor because it reloads the AppDomain when switching between edit/play mode. this causes the editor to hang. This behavior occurs as soon as you call a streamdeck method. For example: StreamDeck.EnumerateDevices() is sufficient to block the editor after the play mode has ended. Is there any way to circumvent this problem?

sloopidoopi avatar Apr 18 '23 11:04 sloopidoopi

Hi @sloopidoopi

I'm sorry that it took me almost a year to respond to your issue. I'm not really into Unity and I've never tried it, so currently I have no clue what could cause this. If you have solved the issue back then I could try to port that fix for the library.

wischi-chr avatar Mar 03 '24 08:03 wischi-chr