I’m trying to use mono_add_internal_call to improve interop between unity and a native C++ plugin.
However when the plugin links against mono-2.0.lib (obtained with the Mono SDK), an exception DllNotFoundException is raised when I try to load the plugin.
I’m wondering:
- Has anyone succeeded in linking/using mono vm for interop or else ?
- Does Unity use a custom version of Mono ? (which could explain why the dll couldn’t be loaded)
- Why an exception DllNotFoundException is raised since the plugin is correctly found but couldn’t be loaded for mysterious reasons ?