// The MSR Kinect DLL (native code) is going to load into the Unity process and stay resident even between debug runs of the game. // So our component must be resilient to starting up on a second run when the Kinect DLL is already loaded and // perhaps even left in a running state. Kinect does not appear to like having NuiInitialize called when it is already initialized as // it messes up the internal state and stops functioning. It is resilient to having Shutdown called right before initializing even if it // hasn't been initialized yet. So calling this first puts us in a good state on a first or second run. // However, calling NuiShutdown before starting prevents the image streams from being read, so if you want to use image data // (either depth or RGB), comment this line out. //NuiShutdown();
I don't know ifthere is solve for thisproblem, I am nowinvestigating more.The group is a good idea.
Anyone knowhow to contactthe developers of thewrapper?