Azure Kinect not worked on Unity, using GeForce RTX 3080

川上 綾 6 Reputation points
2022-01-04T08:52:05.967+00:00

Please kindly advise.
I'm trying to detect the skeleton in Unity using Azure Kinect DK, but it doesn't work.

The Azure Kinect is recognized by the PC, and the functions of Body Tracking and Senser are available.
The GPU of the PC is GEForce RTX 3080.

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
299 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,366 Reputation points Moderator
    2022-02-03T19:16:06.237+00:00

    Hello @川上 綾 , Sorry for the delayed response on this issue.

    I hope the following related issues my help in this matter. Please comment in the below section to get more help on this matter!

    Github Issue links:
    Unity BodyTracking Sample catching exception for background thread result = K4A_RESULT_FAILED

    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.2f1

    I 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)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.