Hello @翔太 山野上 ,Thanks for posting this issue on this forum,
Below is the similar Github issue which was pointed ealrier by asergaz in his reply.
Just sharing to check if this may help with your scenario ? Please comment in the below section to get further help in this matter, happy to help further.
Related Github issue link: Unity BodyTracking Sample catching exception for background thread result = K4A_RESULT_FAILED
So after a lot of experimentation I was able to solve my issues:
OS with Version: Windows 10 Home 19042.1466
SDK Version: Azure Kinect SDK v1.4.1 / Azure Kinect Body Tracking SDK v1.0.1
Firmware version: Current Firmware Versions:
Unity Version: 2019.1.2f1I tried a couple of things to get this working, so I can't tell which solved the issue but here's the list:
use the exact unity version of the project
use an older version of the body tracking sdk (1.0.1 vs 1.1.0)
copy everything in the tools folder of the body tracker sdk into the root of the unity project (same place as the assets folder)
Change ProcessingMode = TrackerProcessingMode.GPU to ProcessingMode = TrackerProcessingMode.Cuda (https://github.com/microsoft/Azure-Kinect-Samples/blob/master/body-tracking-samples/sample_unity_bodytracking/Assets/Scripts/SkeletalTrackingProvider.cs#L46)