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 to mgear
Recent posts
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
Recent Comments
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
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)