Cannot load library module

I’m trying to test the sdk sample files in unity using Intel RealSense D435i but I’m getting the following error message:

nuitrack.TerminateException: NuitrackException (TerminateException): WARNING: Cannot load library module: C:\Program Files\Nuitrack\nuitrack\nuitrack/middleware/NuitrackModule.dll
at nuitrack.NativeImporter.throwException (nuitrack.NativeImporter+ExceptionType type, System.String message) [0x00055] in <0fa84b5c91c943e190b9d848b3950060>:0
at nuitrack.NativeImporter.handleError (System.IntPtr error) [0x00061] in <0fa84b5c91c943e190b9d848b3950060>:0
at nuitrack.NativeNuitrack.Init (System.String config) [0x0000e] in <0fa84b5c91c943e190b9d848b3950060>:0
at nuitrack.Nuitrack.Init (System.String config, nuitrack.Nuitrack+NuitrackMode mode) [0x00029] in <0fa84b5c91c943e190b9d848b3950060>:0
at NuitrackManager.NuitrackInit () [0x0006b] in C:\Users\SMADI\New Unity Project (1)\New Unity Project\Assets\NuitrackSDK\Nuitrack\Scripts\NuitrackManager.cs:297
NuitrackManager:NuitrackInit() (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:331)
NuitrackManager:FirstStart() (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:180)
NuitrackManager:Awake() (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:146)

I can run the nuitrack_sample.exe without any issue, but it seems unity is unable to read the file.

Do you know what causes this issue?


I have the same issue in Nuitrack 0.35 with D455. Did you ever resolve this problem? I can’t seem to get any official respond to the issue and I’ve been struggling with this for awhile.

Dear Housam Ssmadi.

Please check the following:

Update the Nuitrack Runtime and Nuitrack SDK to the latest version (v0.35.1).
Check the correctness of the PATH environment variable.
Also try running Unity as an administrator.

Looking forward to your response.