Help! Kinect depth stream + skeleton viewer not working together!

Hi everybody!

I’m having an issue with the Kinect Wrapper (found here http://wiki.etc.cmu.edu/unity3d/index.php/Microsoft_Kinect_-_Microsoft_SDK).

I’m trying to simultaneously track one (or more) skeleton AND work with data from the depth camera.
The problem is that as soon as I call pollDepth() inside my Update() method, I can only get “Position Only” tracked skeletons and not fully “Tracked” ones.
It seems like the pollDepth() method inside KinectInterop.cs kinda forbids the tracking of the skeletons…
Otherwis, without calling the pollDepth() method, the skeleton tracking works perfectly fine.

Is there anybody able to help me with this?
Thanks in advance!

Anyone maybe? (:
To test it it’s enough to try something like this:

if (kinect.pollSkeleton())
{
	for(int i = 0; i <6 ; i++){
		Debug.Log("SK"+i+"_TS="+ kinect.getSkeleton().SkeletonData[i].eTrackingState);
	}
}
if(kinect.pollDepth()){
}

…where kinect is a Kinect.KinectInterface object.
Like that, it would only recognize the position of the skeleton. Commenting the if(kinect.pollDepth()) part, it will work fine with the skeletons again.