DllNotFoundException

Hi everybody,

I’m currently dealing with a really annoying issue. I created a C++ dll which is used by my Unity program and which depend on an openCV .lib library. This dll work perfectly fine in the editor and when I build it for windows platform.
However, when I want to build my application for UWP, i have the following error when starting the application:
"DllNotFoundException: Unable to load dll ‘NameOfDll’ "

Any idea on what is the issue?
Thanks in advance.

Kind regards,

Linking dlls can be a little tricky in Unity, but here’s a post I found that might help out: c# - Unity - UWP: How to import dll/nuget-package/references to my project - Stack Overflow

If that doesn’t give you the information you need, try this page from Unity’s documentation: https://docs.unity3d.com/Manual/windowsstore-plugins-il2cpp.html