Please, try to select Nuitrack SDK/Nuitrack/NuitrackAssembly/nuitrack.net.dll (in Unity) and tick “Any Platform” in the Inspector tab. This issue may occur in case this value is unticked.
Thank you! That seems to have fixed that issue, and the project now doesn’t display errors. Unfortunately, when I try to run the example “allModulesScene” scene, I get this error.
Definitely only the primesense tracker is connected (plus an external mic and a VR headset, but I’m assuming those shouldn’t interfere).
It looks like the BadConfigValueException still pops up in the tutorial scenes, and after setting up the C# example in the SDK, I get what appears to be the same error.
It looks like you have not setup the nuitrack runtime correctly - this needs to be installed as well as the SDK,
To setup the runtime - look at the install notes in the documentation - and make sure you have the NUITRACK_HOME environment variable pointing to the right place … and nuitrack/bin setup in your environment PATH.
Once you do that - go into the activation_tool folder and run the nuitrack.exe file found in there.
It includes a TEST button that will verify your installation is correctly setup.
I have installed nuitrack runtime, I believe, and I just double-checked that the environment variables are set correctly. The test button in the activation thing works correctly, but still no luck getting the other examples to work.
Any thoughts on what else to try? I guess I can try setting it up on another machine, try to narrow down the possible sources of failure.
That error would definitely suggest that the NUITRACK_HOME environment variable is not set correctly
Try opening a command window (cmd.com) and typing echo %NUITRACK_HOME%
Make sure the value points correctly to the root of your nuitrack folder path c:\Nuitrack or something like that.
Also maybe make sure that the environment variable is set to entire system - not just you - and further make sure you reboot after setting the value and check it again after reboot in cmd.com window.
Aha! It was set up for the wrong user account originally, and I never rebooted after I changed it. That finally fixed it, and it seems to be working now.
Thank you so much for your help, I really appreciate it.
I was following this and other threads to try and get the unity examples to run (windows 10. 64. Real sense D415. Unity 2017.4.7f1) but I seem to have hit a wall. Is it ok to post here or should I start a new thread?
nuitrack_c11_sample.exe runs and displays a depth stream.
Nuitrack.exe also runs and displays the Compatibility Test.
The specific error that I get is DllNotFoundException: libnuitrack nuitrack.NativeNuitrack.Init (System.String config) nuitrack.Nuitrack.Init (System.String config, NuitrackMode mode) NuitrackManager.NuitrackInit () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:183) NuitrackManager.Awake () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:110)
I have the nuitrack.net.dll set to any playform and both 86 and 64 bit. (turning off 86 does not fix the problem)
The Intel Realsense Viewer and unity SDK are both connecting to the camera and displaying depth data.
I have upgraded the Realsense firmware to 5.9.14.0
%NUITRACK_HOME% echos out “C:\nuitrack” and is set for both the user and the system. That folder includes the activation_tool, bin, data, and middleware folders.
I also ran ““C:\Program Files\OpenNI\Bin64\niReg64.exe” -r C:\nuitrack\bin\libnuitrack_ni.dll C:\nuitrack\data” in the command line and got no error response.