Does anyone know what might be causing the following error <RI.Hid> Failed to create device file: 2 The system cannot find the file specified.
or perhaps how to fix Unity so this error doesn’t continue to pop up. I am finding that leaving Unity run in the background for half a day while I am working on an asset in another program will cause Unity to crash. Even if the other software I’m working on is not a 3D Application and wouldn’t be putting that much strain on unity. The only errors I seem to be getting with Unity are the one above and another related to cache expiring for a file titled 10.json
I’m not sure if this is related to the problem but figure I should mention it incase it is of some relevance.
I had the same issue with a Dual Shock 4 plugged in, and ds to xinput mapper running. If you disconnect the controller (or turn xinput mapping off) it goes away.
RI is RawInput. It’s an error being generated by Unity’s input system which is based on Raw Input. You can’t do anything to stop it except unplug the controller that is causing the issue. Logitech’s F710 wireless gamepad always gives this error when the switch is set to D mode. The controller still works sometimes even when this error shows up.
Yes, I see this periodically depending on what’s plugged in. Seems to happen more with Bluetooth devices as you connect or disconnect them when the Unity window isn’t active. I haven’t figured out what steps are involved in getting it, but it doesn’t seem to affect anything.
Well, I guess file a bug report and hope they fix it. There isn’t anything you can do to fix a Unity bug like this. Do your controllers still work after the error is displayed?
The Path of the Filename doesn’t exists on my hard drive.
There is no input device connected and the error shows up 15 times every few minutes.
Only a mouse and a LAN adaptor are connected over USB.
I’m getting the same problem it happened after a crash when I was working on the first part of a Unity Tutorial. I’m not sure whether I should get rid of the project or just start a new scene or what.
I’m having the same problem, but i can’t disconect the input device… it’s the notebook’s touch screen that’s giving me this errors… (I’m on a HP Envy notebook)
That’s really annoying, since when I’m in play mode, the editor keeps pausing because of this error… someone have tips on how to avoid this?