windows 10 home 64bit, 20h2
unity 2019.4.19f1
motive 2.2
1. create a new unity project
2. import unity plugin 1.3
3. open optitrack example scene and play
4. got DllNotFoundException : NatNetLib
But everything is working well when using unity plugin 1.2
[Solved]DllNotFoundException when using unity plugin 1.3
-
- Posts: 5
- Joined: Wed Feb 20, 2019 10:56 pm
[Solved]DllNotFoundException when using unity plugin 1.3
Last edited by chobitsfan on Wed Mar 17, 2021 6:32 pm, edited 1 time in total.
-
- Posts: 3
- Joined: Thu Jan 14, 2021 4:30 am
Re: DllNotFoundException when using unity plugin 1.3
Not so much luck for me either.
1.2.0 works fine for Unity 2020.2.1 f1 LTS.
Not for 1.3.0. Manually loading dll from Natnet 3.1 did not resolve the issue either.
-windows 10
-motiove 2.2.0
1.2.0 works fine for Unity 2020.2.1 f1 LTS.
Not for 1.3.0. Manually loading dll from Natnet 3.1 did not resolve the issue either.
-windows 10
-motiove 2.2.0
Re: DllNotFoundException when using unity plugin 1.3
DLL not found exception in unity usually means you're missing a visual studio redistributable. May try installing 2017 and 2019 x64 visual studio redistributables and trying again.
-
- Posts: 3
- Joined: Thu Jan 14, 2021 4:30 am
Re: DllNotFoundException when using unity plugin 1.3
Thanks to your suggestion, I resolved the dll exception issue
This was indeed linked to incomplete update on 2019 distributables for C++ language.
I had to run the visual studio installer and install the followings in "C++ development tab"
->MSVS v142 VS 2019 build tools
->v142 build tools C++/CLI
->v142 build tools v++ module
->latest v142 build tools for C++ATL(x86 and x64)
..In short, everything related to latest v142 has been installed from c++ tab,
with addition of latest windows 10 SDK, and anything that might be related to this remotely.
Now I can run the 1.3.0 plugin without dll not found exception
-
- Posts: 5
- Joined: Wed Feb 20, 2019 10:56 pm
Re: DllNotFoundException when using unity plugin 1.3
Hi jnoffke and plushTrack. Thank you very much for helping. After update necessary VS components, it works now.
-
- Posts: 2
- Joined: Sat Oct 02, 2021 7:43 pm
Re: DllNotFoundException when using unity plugin 1.3
so only update necessary VS components, right?chobitsfan wrote: ↑Wed Mar 17, 2021 1:19 am Hi jnoffke and plushTrack. Thank you very much for helping. After update necessary VS components, it works now https://itkoding.com/cara-membuat-halam ... soft-word/
Re: [Solved]DllNotFoundException when using unity plugin 1.3
Yes, the solution provided above is a good one.
Re: [Solved]DllNotFoundException when using unity plugin 1.3
You shouldn't have to install a bunch of stuff through visual studio, although I guess that would work. If you need to run on a machine that doesn't have visual studio involved, just google "visual studio 2019 redistributable" and download and install the x64 redistributable from Microsoft's website.