method body replaced by unityLinker.exe with a notsupportedexception
I'm working with mysql.data and newtonsoft json dll for my game. There is a problem. I'm building my game with mono scriptbaackend method. My game works perfectly.
But when i use il2cpp My game mysqlconnection not working. it says
method body replaced by unityLinker.exe with a notsupportedexception
Editor works fine. But when i try on my mobile device i'm getting this error when i try to connect my database.
This looks like the same issue raised on the forums here: https://forum.unity.com/threads/system-notsupportedexception-in-unity-2019-only-in-build-mode.743276/#post-6904304
Is it the same?
@JoshPeterson yes it's same. But other guy getting error from building. I'm getting error from in app
Answer by deters · Mar 18, 2021 at 08:52 AM
Have the same exception when try add colum to DataTable.
var dataTable = new DataTable();
dataTable.Columns.Add("result", typeof(string), input);
I'm having the same problem while trying to reach to MySQL database in WebGL. It works fine for standalone builds. Have you managed to fix this already?
i couldn't. I changed my database to MSSQL. But also i'm trying to figure it out Working with MySQL. If i found something i will post here.