Unity editor crash when use face tracking with orbbec

If I set “Faces.ToUse” and “DepthProvider.Depth2ColorRegistration” to true, nuitrack project was crashed when played with orbbec.
However, if I used kinectv2, project didn’t crash.
I tested it in unity5 and unity2018.
Thank you.

Hi younger,

What Orbbec camera do you use?

Hello Olga,
I use Astra Pro.
Thank you.

You have to enable RGB stream for Astra Pro: set “CameraID” value in the nuitrack.config file (usually it’s 0, but if it doesn’t work, try 1, 2, …).

1 Like

For others coming to this more recently: this was the key to getting my Orbbec astra working without crashing in Unity 2021.3.2211 on Ubuntu 22.04.2 LTS with the Unity3D package committed Dec 28, 2022.

I edited /usr/etc/nuitrack/data/nuitrack.config to set the CameraID to 1:

"AstraProPerseeDepthProvider": {
    "POSIX": {
        "PID": "0x0501",
        "VID": "0x2bc5"
    "CameraID": 1

UPDATE: spoke too soon. It’s crashing again…