3
2018
DllNotFoundException: libnuitrack – nuitrack.NativeNuitrack.Init

Briefly tested https://nuitrack.com/ in unity, and had this error when trying to run examples:
DllNotFoundException: libnuitrack nuitrack.NativeNuitrack.Init (System.String config) nuitrack.Nuitrack.Init (System.String config, NuitrackMode mode) NuitrackManager.NuitrackInit () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:218) NuitrackManager.Awake () (at Assets/NuitrackSDK/Nuitrack/NuitrackManager.cs:117)
There is a thread about it in nuitrack forums, https://community.nuitrack.com/t/dllnotfoundexception-libnuitrack/562/23
and the solution was that you need to set System PATH correctly (and reboot pc after it).
Noticed the issue with Process Monitor, Unity was not looking from the right folder (even though i had added ..bin\ folder in the USER variables PATH)
Solution:
– Download nuitrack SDK (64bit) http://download.3divi.com/Nuitrack/platforms/nuitrack-win64.zip
– Unzip
– Install OpenNI-Win64-1.5.7-Dev.msi
– Edit windows environment variables (type path in start menu). NOTE: Modify SYSTEM variables below (not the USER variables above)
– Add NUITRACK_HOME variable and set path to your folder, for example: C:\Users\username\Downloads\nuitrack-win64\nuitrack
– Modify PATH variable, add new item, for example: C:\Users\username\Downloads\nuitrack-win64\nuitrack\bin
– That is the folder containing the missing dll
– Reboot your pc, and test example scenes in unity, should have no more dll error
References:
– Nuitrack installation instructions: http://download.3divi.com/Nuitrack/doc/Installation_page.html
– Nuitrack unitypackage: https://nuitrack.com (scroll down the page, see “Unity SDK & Samples”, click download)
Related Posts
3 Comments + Add Comment
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












actually the easy fix is to just install normally following install instructions, and THEN reboot or relogin (so that the env. variable gets set automatically)
What do you mean by Re-login? relogin the whole computer or just reboot the software?
yes i meant sign-out from windows and then back (or reboot computer)