Looking-Glass / JoyconLib

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

Game builds instant start crash #46

Open Stevenator155 opened 2 years ago

Stevenator155 commented 2 years ago

Everything is working great but when I build the game the instant the unity logo fades it crashes and closes and after ALOT of testing I figured out it was the JoyconManager and the game only doesn't crash when the object its in and itself is disabled or deleted, but if only the manager is disabled then it still crashes.

Stevenator155 commented 2 years ago

I figured out that IntPtr handle = HIDapi.hid_open_path(enumerat.path); crashes it and I don't know how to fix it

raytsang commented 2 years ago

I solve it by building with x86_64