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

Vjoy breaks Unity engine #62

Open
FlyMakerBR opened this issue Dec 8, 2021 · 1 comment
Open

Vjoy breaks Unity engine #62

FlyMakerBR opened this issue Dec 8, 2021 · 1 comment

Comments

@FlyMakerBR
Copy link

A few weeks ago I had a problem with the Unity engine. None of the games or projects made in the latest versions (2018 onwards) worked. Whenever starting games or projects, the application would crash instantly.
After searching the Unity Forum for help, they pointed out to me that the engine always failed to load an HID device. Looking for my devices I saw that the ID matched with Vjoy and after uninstalling the application Unity returned to work normally.

Error inside Unity crash log: <RI.Hid> Failed to get maximum data list length.
Editor.log

Vjoy Version 2.1.9.1

@cyberluke
Copy link

Hi, did you solve it?

I'm Unity developer and VJoy contributor (my own fork for Windows XP retrogaming). Anyway, Unity has this issue since 2013 and it happens with lot of devices, not only VJoy. Here: https://forum.unity.com/threads/ri-hid-failed-to-create-device-file.202934/

RI is RawInput from Unity. They fixed something in RawInput, but it is not universal.

Another issue here: https://community.intel.com/t5/Software-Archive/RI-Hid-Failed-to-create-device-file-Error-with-Unity-Webplayer/m-p/1007637

I guess VJoy is 32-bit driver and Unity now is only 64-bit. That might be the issue. Can you perhaps try to compile your game as 32-bit if it solves this issue, just for debugging purposes?

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

2 participants