Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppDomain reload problem in Unity3D #53

Open
sloopidoopi opened this issue Apr 18, 2023 · 2 comments
Open

AppDomain reload problem in Unity3D #53

sloopidoopi opened this issue Apr 18, 2023 · 2 comments

Comments

@sloopidoopi
Copy link

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?

@wischi-chr
Copy link
Member

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.

@cnqdztp
Copy link

cnqdztp commented Nov 7, 2024

this problem occured to me too, and i end up having to make a seperate .net asp project to open a server for handling streamdeck, just not to hang the unity editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants