I have downloaded the ZigFu Unity3D legacy bindings from this site
(
http://zigfu.com/legacy.html) and imported onto an empty project. I
tried the SimpleViewer scene that has been given in the package and I
tried to run it in my editor (By the way, i'm using Unity 3.4 on a
Windows 7 x64 OS). But the project gave me quite a few errors. I'll
try to list them down below:
Error opening OpenNI context: xnContextRegisterForShutdown
NullReferenceException: Object reference not set to an instance of an
object
OpenNIImagemapViewer.Start() (at Assets/OpenNI/scripts/
OpenNIImagemapViewer.cs:26)
NullReferenceException: Object reference not set to an instance of an
object
OpenNIImagemapViewer.Start() (at Assets/OpenNI/scripts/
OpenNIImagemapViewer.cs:27)
NullReferenceException: Object reference not set to an instance of an
object
OpenNIDepthmapViewer.FixedUpdate() (at Assets/OpenNI/scripts/
OpenNIDepthmapViewer.cs:128)
NullReferenceException: Object reference not set to an instance of an
object
OpenNIImagemapViewer.FixedUpdate() (at Assets/OpenNI/scripts/
OpenNIImagemapViewer.cs:52)
I am using a pretty old version of OpenNI (v1.0.0.25), NITE
(v1.3.0.17) and Avin2 sensor Kinect and I'm concerned that my previous
Kinect projects that did not use the ZigFu Unity Wrapper would not
work with newer versions of the driver. Previously I have tried
running the NISimpleViewer.exe sample and it used to work but now it
said that Memory Allocation failed. So, is it necessary for me to
uninstall my old OpenNI drivers and install the new ZDK plugin just
released (
http://www.zigfu.com) in order to solve the errors stated
above? Is there any other solution to the problem? Would appreciate
your help.
Thanks!
Regards,
Kenneth