falahati / NiWrapper.Net

OpenNI 2 and NiTE 2 .Net Wrapper
http://www.falahati.net
GNU Lesser General Public License v2.1
52 stars 30 forks source link

Cannot use in Unity3D #18

Open duzc2 opened 9 years ago

duzc2 commented 9 years ago

when used in Unity3D , none device could be found. init OK , but no device from DeviceInfo[] devices = OpenNI.EnumerateDevices ();

I have recompiered via .net 3.5 to use it in Unity3D. and all my dlls are x86.

ashokbugude commented 8 years ago

Can I know how do we integrate with unity3d in Linux ? I mean, what files are supposed to be place in assets folder ? and which c# scripts need to be attached in the scene( for Eg say hand tracking ) ?

NickSchrandt commented 6 years ago

Also encountering this problem. OpenNI.EnumerateDevices() works in Editor but not in build. Has a solution been found for this?

falahati commented 6 years ago

Can you check the latest release?

NickSchrandt commented 6 years ago

I found the problem. Unity wasn't including subdirectories in the Plugins folder, which included the sensor drivers.

falahati commented 6 years ago

Ok well done. Thanks for sharing that.