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

Using SystemWrapper with Unity - unloading broken assembly

$
0
0
I want to include the [SystemWrapper](https://github.com/jozefizso/SystemWrapper) in my Unity project, so that I can stub things like `File` during unit testing. I built the project and copied the two relevant DLLs into my Assets/Plugins directory (SystemWrapper.dll and SystemInterface.dll). Unfortunately, I'm getting the following error message:> Unloading broken assembly Assets/Plugins/SystemWrapper/SystemWrapper.dll, this assembly can cause crashes in the runtime. But I only get that. When I google for this issue, it seems that people usually get another error message to indicate what actually went wrong. What's also weird is that if I actually try to use classes from the DLL inside my code, it all works fine. I'd still like to get rid of that error message though or at least understand why it's there. How do I go about diagnosing the problem here?

Viewing all articles
Browse latest Browse all 706

Trending Articles



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