I recently upgraded my project from 2019.3.6f1 to 2019.3.14f1, and now there is a DllNotFoundException every time I start the editor or attempt to run my game. Everything worked fine before the upgrade.
The exception is for a native plugin that is located in: \Assets\FluidSynth\Plugins\x86_64. I have verified that the library still exists in that location.
The exception happens when my script attempts to call a function with the following attribute:
I thought it might be an issue of dependencies, but I could not find anything that stood out in the dependency walker output, which I have attached to this post.
Has anyone else encountered an issue like this? Are there any other way I can get additional debugging information?
After renaming the library from libfluidsynth-2.dll to fluidsynth-2.dll, the problem went away. I guess the newest version of Unity does not support loading libraries prefixed with lib.
Well, that’s several hours of my life that I’ll never get back. Hope this helps some other poor souls out there.