I get this Exception when running Nuitrack Unity Example.
Does it ring any bell?
I saw lots of similar topics in this community, but all of them are different to my case. they didn’t help.
TerminateException: NuitrackException (TerminateException)
nuitrack.NativeImporter.throwException (nuitrack.NativeImporter+ExceptionType type) (at :0)
nuitrack.NativeNuitrack.Init (System.String config) (at :0)
nuitrack.Nuitrack.Init (System.String config, nuitrack.Nuitrack+NuitrackMode mode) (at :0)
NuitrackManager.NuitrackInit () (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:221)
NuitrackManager.Awake () (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:119)
Sensor Device: Intel D435
Nuitrack Trial License
Nuitrack Version: 0.33.0
Nuitrack SDK: 1.7.0
nuitrack_c11_sample.exe and nuitrack_sample.exe, both run without problem
NUITRACK_HOME is set to correct path (*where there are bin, data, middleware and activation_tool folders)
Path is set to bin folder in NUITRACK_HOME
Tried Box, BasicSkeleton and Humanoid Animation scenes.
Reinstalling Nuitrack SDK and rebooting several times solved the problem magically…
As it turned out, Nuitrack 0.33.0 downloaded from https://gitlab.com/3DiVi/nuitrack-sdk/-/tree/master/Platforms is a problem. It causes Exception upon Nuitrack.Init mentioned above.
Whereas Nuitrack 0.32.0 downloaded from installation document here has no problem.
I’m using Nuitrack Skeleton Tracking downloaded from Unity Asset Store. which is version 1.0.2
Make sure that the Nuitrack Runtime and Unity package are up to date https://gitlab.com/3DiVi/nuitrack-sdk.
I originally downloaded the files suggested by @iosif.semenyuk above. the unity package included in the sdk would not import into unity.
then i downloaded the skeleton tracker package from the unity store. this imported successfully, but unity would throw an exception whenever i ran an example.
finally, i ununstalled 0.33 and installed 0.32 and finally everything worked, just as @devlove merntioned . so, if you are having troubles with the package from the asset store, try 0.32 until whatever the problem is gets fixed.
Thanks @swampmonster for additional information.
That is exactly what I encountered and tried to resolve the problem.
I’m disappointed to be forced to use 0.32, because I bought lisence with Nuitrack AI. Which is supported only since 0.33
SDK from https://gitlab.com/3DiVi/nuitrack-sdk may be broken.
In that case, try one from the Installation Instructions.
I can confirm the error when using nuitrack 0.33 with the Unity package. The 0.33 update would be essential for us, but we are forced to wait for fix or look for other alternatives.
I was able to get 33 working with unity3d. However, it required a totally meticulous management of the software environment. If you don’t have it perfect you will be sent on a wild goose chase.
in general this is true with many SDKs that rely on other SDKs, BUT IN THIS CASE ITS VERY SERIOUS: you need to have the latest realsense sdk version+ the exact same version of the nuittrack unity package and nuitrack sdk. All three need to be synchronized or it will have problems with unhelpful error messages.
how do we know if the AI feature is working? Is this automatic and applied to all calls to the sdk or do we need do something specific to make the AI work… i have not noticed any improvement in tracking since we upgraded to the AI version so i am guessing its not enabled.
@swampmonster, please send us the screenshot of errors in the Unity log. It seems that you could have cloned a repository without lfs-dependencies.
the newest versions worked for me.
yet no response for my issue Nuitrack works on Unity Editor, but not when building the game
great plugin definately gonna pay for the subscription