Software Archive
Read-only legacy content
17061 Discussions

RI.Hid Failed to create device file Error with Unity Webplayer

Joseph_G_
Beginner
5,355 Views

Hello all,

I have created a small unity scene that just adds simple meshes to the available face tracking landmark points in unity.  It seems to work fine when i build to an exe, however when i build to webplayer it throws an <RI.Hid> Failed to create device file: 1 Incorrect function.  

Iam using Unity 5, the latest real Sense SDK and have made sure to use the libpxcclr.unityweb.dll version of the Managed Plugin.  Does anyone have any other suggestions? 

thanks.

0 Kudos
1 Reply
MartyG
Honored Contributor III
5,355 Views

Are you using the 64-bit version of the RealSense drivers?  Unity 5 is a 64-bit program, whereas Unity 4 was 32-bit.  This caused the usual RealSense drivers not to work in Unity 5.  The solution was to use the SDK's 64-bit drivers in your project instead.  Full details are in this post:

https://software.intel.com/en-us/forums/topic/542710

0 Kudos
Reply