Software Archive
Read-only legacy content
17061 Discussions

RealSense support in Unity 5.3.x WebGL?

Anthony_P_2
Beginner
616 Views
Hey everyone,

I built a RealSense game demo for Intel's RealSense App Challenge last year, and I'd like to host it on the web via Unity's WebGL exporter for anyone with a RealSense to enjoy. I can build to WebGL and the game runs, but the RealSense (F200 version) doesn't get activated and turn on in the WebGL build.

I saw that Webcams are now enabled in Unity 5.3, so is there a way for me to enable the RealSense as well? Hopefully it's just a matter of sending it the signal to activate? Pretty noob on this peripheral stuff, especially in WebGL, so any help would be appreciated!
0 Kudos
1 Reply
Anthony_P_2
Beginner
616 Views

As an update, It seems the issue is that Unity WebGL does not detect the RealSense DLL. I get this message in the browser console:

DllNotFoundException: Unable to load DLL 'libpxccpp2c': The specified module could not be found.

Is there a way to incorporate this DLL or use [DllImport ("libpxccpp2c")] somehow? It's worth noting that I can pull the RGB or depth feeds as webcam feeds via WebCamTexture, but the camera obviously isn't passing this data to my code since the DLL isn't found.

Thanks!

0 Kudos
Reply