- Home /
Question by
marcinkolacz · Oct 06, 2020 at 10:17 AM ·
iosandroid buildil2cppmysqldll error
How to ad mysql.data.dll to Android and iOS build?,How to add mysql.data.dll to Android and iOS build?
My code work correctly in Editor mode. But when I made an Android build then mySQL connection fail. I think mySQL.Data.dll isn't attached. I checked different dll's from mysql connector (.NET 2.0, 4.0, 4.5.2). Only build which worked on Android is that one made by MONO Scripting Backend. All il2cpp builds fail. I think it is because il2cpp strip remove mysql.Data.dll. Unfortunately Mono build only 32bit code, I need to support 64bit code too. I add mySql.Data.dll into my Project Assets\Plugins directory via ImportAssets. Any idea how to make correct build with il2cpp?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613013050im_/https://answers.unity.com/themes/thub/images/avi.jpg)