Interop with mono_add_internal_call

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:

  1. Has anyone succeeded in linking/using mono vm for interop or else ?
  2. Does Unity use a custom version of Mono ? (which could explain why the dll couldn’t be loaded)
  3. Why an exception DllNotFoundException is raised since the plugin is correctly found but couldn’t be loaded for mysterious reasons ?

Unity does use a custom version of Mono but apparently, it used to be possible to use mono_add_internal_call earlier. It’s such a shame too because according to the metrics on that link, it seems like it’s more performant too.