bibigone / k4a.net

K4A.Net - Three-in-one .NET library to work with Azure Kinect devices (also known as Kinect for Azure, K4A, Kinect v4). It includes sensor API, recording and playback API, body tracking API. Samples for WPF, .NET Core and Unity are included.
MIT License
165 stars 39 forks source link

Unity Body Tracking is not working #12

Closed tomriddle7 closed 5 years ago

tomriddle7 commented 5 years ago

I copied libraries and data files for Body Tracking to \k4a.net-master\K4AdotNet.Samples.Unity\Assets\Plugins\K4AdotNet but I got error that 'Cannot initialize body tracking: Cannot find Body Tracking runtime or some of its components (neither in application directory, nor in Body Tracking SDK directory).' Why this happend? p.s. I modified 166 line in RecordThenPlaybackTest.cs cause build error. Is that reason?

bibigone commented 5 years ago

Hello @tomriddle7,

I copied libraries and data files for Body Tracking to \k4a.net-master\K4AdotNet.Samples.Unity\Assets\Plugins\K4AdotNet

What files and what version did you copied?

The latest version is compatible with Body Tracking 0.9.3 and the following files are required:

Why this happend?

The easiest way is to install Body Tracking SDK 0.9.3 from here: https://docs.microsoft.com/en-us/azure/kinect-dk/body-sdk-download (MSI) to default destination folder.

p.s. I modified 166 line in RecordThenPlaybackTest.cs cause build error.

Thank you for letting us know. We fixed this string literal in the latest commit.

Is that reason?

Definitely not )

tomriddle7 commented 5 years ago

It works well! Thanks!