Unity Crashes on Play

Hi, Unity keeps crashing every time nuitrack is initialized on play, including examples from SDK.

OS: win10x64 with MSVC redistributables installed
Unity ver: 2019.3.0f3
NuiTrack ver: 0.29.0 (displayed on the activation tool)
License: commercial activated
Sensor: kinect v2

Error from running example:

0x0000021BB1C0F851 (nuitrack.net) nuitrack.NativeImporter.nuitrack_CreateUserTracker()
0x0000021BB1C0F313 (nuitrack.net) nuitrack.NativeUserTracker..ctor()
0x0000021BB1C0F123 (nuitrack.net) nuitrack.UserTracker.Create()
0x0000021BB1C03D23 (Assembly-CSharp) NuitrackManager.NuitrackInit()
0x0000021BB1BFCDB3 (Assembly-CSharp) NuitrackManager.Awake()
0x0000021BADC4B5D8 (mscorlib) System.Object.runtime_invoke_void__this__()
0x00007FFD4FE6CBD0 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFD4FDF2142 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFD4FDFB13F (mono-2.0-bdwgc) mono_runtime_invoke
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73999D0FE)
0x00007FF73999D0FE (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF739996DDD)
0x00007FF739996DDD (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7399970AE)
0x00007FF7399970AE (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7399FE4D3)
0x00007FF7399FE4D3 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73996079D)
0x00007FF73996079D (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73995F114)
0x00007FF73995F114 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73995FB1C)
0x00007FF73995FB1C (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF738102027)
0x00007FF738102027 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF738102B40)
0x00007FF738102B40 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF739467C2F)
0x00007FF739467C2F (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF739467F13)
0x00007FF739467F13 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF739468BA9)
0x00007FF739468BA9 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73946C509)
0x00007FF73946C509 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73946CD31)
0x00007FF73946CD31 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF737DCF06E)
0x00007FF737DCF06E (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF737847B64)
0x00007FF737847B64 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73785A154)
0x00007FF73785A154 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73785CF1F)
0x00007FF73785CF1F (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF738197890)
0x00007FF738197890 (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7381A150A)
0x00007FF7381A150A (Unity) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF73B110342)
0x00007FF73B110342 (Unity) (function-name not available)
0x00007FFDBF657BD4 (KERNEL32) BaseThreadInitThunk
0x00007FFDC016CED1 (ntdll) RtlUserThreadStart

I got it to work. If I install it into program files, it doesn’t. Any other folder it does.

Permissions and env vars all look fine. I did it the process (uninstall everything, install in program file, check, uninstall, install in other folder, check) twice, to check if there was something that I did after the first install that was causing the problem.

Other people at my team have it in the program files folder without problem. And I cannot see what differences there might be.

Hi, do you mean installing unity or the nuitrack?

Dear, George Laskowsky.

Sorry for the issues you’ve encountered.
This issue has been fixed since Nuitrack version 0.32.0.

The startup error is related to the rights and account system in Windows.
If your account is not an administrator and Nuitrack is installed in ProgramFiles, then you need to run Unity as an administrator.

Your hotfix is correct if you don’t want to run Unity as an administrator all the time, but we recommend updating Nuitrack.

Looking forward to your response.