This works for me in 4.6. Basically with what was in the demo. I get warnings as well, but they don’t cause any apparent problems. You don’t need the interp stuff obviously, I was just trying to smooth it a bit.
The BoneNames array should contain the bones of your skeleton and match with the kinect bones.