- Home /
This post has been wikified, any user with enough reputation can edit it.
DLL works in editor, but gives an exception in Android
I have a project for which I had to create a C++ DLL. Everything works fine in the editor (with Android settings and all), but when I try it on my phone it doesn't work.
It doesn't crash, at first I didn't even notice that it didn't work, I thought that the results are just not updated.
After I put the wrapper function in a try/catch block I got an exception with the name of the DLL, nothing else.
I put the DLL in Plugins under Assets and I figured that I don't have to do anything else since everything works fine on the computer in the editor. What did I miss?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613153719im_/https://answers.unity.com/themes/thub/images/avi.jpg)