Looking-Glass / JoyconLib

Joy-Con library for Unity.
MIT License
471 stars 91 forks source link

DllNotFoundException: hidapi assembly <Unknown assembly and unknown type error> #53

Open samster1990 opened 1 year ago

samster1990 commented 1 year ago

Hi I have been trying to connect my switch controllers using Looking-Glass/JoyconLib package. But I am getting this error. Can anyone suggest a fix for this issue. I am not very familiar to Unity. Thanks in advance.

Screenshot 2023-01-16 at 19 52 48
Olyxr commented 1 year ago

Hey. Did you figure out how to fix the issue? I'm having the same issue (On Mac)

samster1990 commented 1 year ago

No I didn't find any solution so far. I tried checking on different unity versions but it doesn't work. I will try again to troubleshoot but let me know if you find any fix.

Olyxr commented 1 year ago

Yeah. I also tried that. It might have something to do with the latest version of MacOS. I think Apple changed the way game controllers are handled. That is if you also use Mac, and you also are on MacOS Ventura.

samster1990 commented 1 year ago

Yes I am also using mac. It might be Mac issue. By the way did your switch controllers connect to your mac? My controllers are connecting to properly but not within unity.

Olyxr commented 1 year ago

Right. Yes, my Joycons connect and work just fine. I often use them for emulators. The problem for me is also only happening within Unity.