For my Unity 2D application I’m using skeleton tracking provided by Orbbec Astra Pro sensor. Implementation is based on nuitrack.net.dll library provided by Nuitrack for C#.
When Nuitrack.Init() is called, everything works fine for Unity 2018.3.0f2 but not for Unity 2021.2.1f1. Unity Editor crashes and I cannot get any info why this is happening. Try/catch block is not helpful but neither the Unity log files.
I’ve tried with Nuitrack v0.35.12, but I have the same problem.
Hm… I tried to copy nuitrack.net.dll from a package to an empty project and everything seems to work. Try running this project https://disk.yandex.ru/d/N1xwuVaiTO0ysA
The easiest way to identify the problem. Try creating a project for this version of Unity, import NuitrackSDK.unitypackage and run the AllModulesScene scene.