- Home /
error while testing open NI skeleton.
hi everyone,
i am having problem while testing Open Ni skeleton,
here's the error i am getting,
StatusException: File not found! OpenNI.WrapperUtils.CheckEnumeration (Int32 status, OpenNI.EnumerationErrors errors) OpenNI.Context.InitFromXmlEx (System.String xmlFile, System.IntPtr& hScriptNode) OpenNI.Context.CreateFromXmlFile (System.String xmlFile, OpenNI.ScriptNode& scriptNode) OpenNIContext.Init () (at Assets/NITE/OpenNIContext.cs:48) OpenNIContext..ctor () (at Assets/NITE/OpenNIContext.cs:16) OpenNIContext..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for OpenNIContext OpenNIDepthmapViewer.Start () (at Assets/NITE/OpenNIDepthmapViewer.cs:26)
NullReferenceException: Object reference not set to an instance of an object OpenNIDepthmapViewer.Update () (at Assets/NITE/OpenNIDepthmapViewer.cs:46)
NullReferenceException: Object reference not set to an instance of an object OpenNIUserTracker.Update () (at Assets/NITE/OpenNIUserTracker.cs:72)
i already tried to re-install openNI and all the drivers but still getting same error.
thanx
I have the same problem but i cant find openNi.xml file anywhere...does anybody knows?
Answer by jack_sparrow · Jun 05, 2012 at 02:13 PM
hi everyone
finally i got the solution.
i installed openNI correctly but in my project folder i need two files
openni.xml, UnityInterface.dll,
i hope it will help people who stuck at same problem.
cheers guys..
Your answer
![](https://koobas.hobune.stream/wayback/20220613072127im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
3D model animation with kinect skelton in unity 0 Answers
Is it possible to move biped bones one at a time during gameplay? 0 Answers
how a kinect controlled character can be stabilized? 0 Answers
Objects passing through each other using openni 1 Answer
How can i record motions in unity when its captured via kinect ? 0 Answers