Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Can't load type from DLL.

$
0
0
Hello, I wrote a DLL named "GameInput.dll" that references "DirectInput.dll". When I put "GameInput.dll" into Unity and add a reference to Visual Studio I gain access to all of the code in "GameInput.dll". Although I don't get any errors in Visual Studio when I go back to Unity I am getting a "TypeLoadException: Could not load type from assembly" error. If I go back to "GameInput.dll" and remove all usages of the "Microsoft.DirectX.DirectInput" namespace it removes all errors in Unity. Does anyone know what the problem is? Thank you

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>