- Home /
Question by
asfaghaedgasgdsg · Jul 14, 2013 at 10:34 AM ·
buildrundllnotfoundexception
DLLNotFoundException Only when "build & run"
Hi,
I'm using a DLL (c++) in a C# Script. Everything works fine.
But when I build the .exe file and start the game, is throws the DLLNotFoundException.
I put the dll file everywhere it possible could be searched by the game but the exception shows up every time.
Anyone dealt with the same problem?
Comment
The Dll is in the "Plugins" folder and I also placed it near the .exe file.
Best Answer
Answer by asfaghaedgasgdsg · Jul 16, 2013 at 12:20 PM
Ok I changed the build settings to x84 architecture. Now it works! :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613110100im_/https://answers.unity.com/themes/thub/images/avi.jpg)