DLLNotFoundException Only when "build & run"


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?

Ok I changed the build settings to x84 architecture. Now it works! :slight_smile: