Unity Crash/Freeze when using Body Tracker

As the title says, whenever I try to use Body Tracking sample, my Unity freezes after 10-20 seconds and I’m forced to smother it with Task Manger.

I used the ZED diagnostic tool to optimize the AI models.

Hi @smietanr
Welcome to the StereoLabs community

Thank you for optimizing the AI models in advance; it rules out the most common cause of Editor freezes with the Body Tracking scenes, as explained in the ZED Unity Body Tracking documentation.

To understand where the problem originates, please help me with the following:

  1. Run the native Body Tracking sample from the ZED SDK GitHub repository with the same settings for a few minutes, and tell me whether it remains stable outside Unity.
  2. Share your setup: OS, ZED SDK version, ZED Unity plugin version, Unity version, GPU model, and NVIDIA driver version.
  3. Tell me which “Body Tracking Model” and “Body Format” you selected in the ZEDManager settings, and test whether the freeze still occurs with HUMAN_BODY_FAST and BODY_18.
  4. After a freeze, attach the Unity Editor log (%LOCALAPPDATA%\Unity\Editor\Editor.log) and a ZED Diagnostic report.

With this information, we can tell whether the issue is related to the ZED SDK, to the plugin, or to the system configuration of your ZED Mini setup.

While I’m downloading the repository and doing the other stuff, here’s my setup

OS: Win 11

ZED SDK: 5.5

ZED Plugin: 5.5.0

Unity: 6000.3.9f1

GPU: NVIDIA GeForce RTX 4090

Nvidia Driver: 610.88

I’m using HUMAN_BODY_FAST and BODY_18