curiosity-inc / azure-kinect-dk-unity

Azure Kinect C# wrapper compatible both with Sensor SDK and Body Tracking SDK ant Unity sample project using it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity crashes when I run SampleScene. Update to BodyTracking 1.0.1 ?

karolsenami opened this issue · comments

Hi,

After copying the libraries in the unity folder, I ran the SampleScene and got a Unity crash window, while the editor had these errors :
StackOverflowException: The requested operation caused a stack overflow. Microsoft.Azure.Kinect.Sensor.BodyTracking.BodyTracker.Create (Microsoft.Azure.Kinect.Sensor.Calibration sensorCalibration) (at Assets/AzureKinectDK/Scripts/M4ABT/BodyTracker.cs:21) DebugRenderer.OnEnable () (at Assets/AzureKinectDK/Examples/Scripts/DebugRenderer.cs:28)

and then obviously this one :
NullReferenceException: Object reference not set to an instance of an object DebugRenderer.Update () (at Assets/AzureKinectDK/Examples/Scripts/DebugRenderer.cs:55)

My version is not the same, I am using Microsoft.Azure.Kinect.Sensor.1.3.0 and Microsoft.Azure.Kinect.BodyTracking.1.0.1, as the Microsoft Unity sample repo. I need to uninstall my previous version to test it, I'll keep you in touch.