- Home /
Not Supported Exception occurs when building il2cpp + MySql application
NotSupportedException: System.Configuration.ConfigurationManager::GetSection at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0 at MySql.Data.MySqlClient.MySqlConfiguration..cctor () [0x00000] in :0 at MySql.Data.MySqlClient.Replication.ReplicationManager..cctor () [0x00000] in :0 at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] in :0 at checkconnection.check () [0x00000] in :0 at UnityEngine.Application+LowMemoryCallback.Invoke () [0x00000] in :0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in :0 at System.ComponentModel.ProgressChangedEventHandler.Invoke (System.Object sender, System.ComponentModel.ProgressChangedEventArgs e) [0x00000] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in :0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'MySql.Data.MySqlClient.MySqlConfiguration' threw an exception. at MySql.Data.MySqlClient.Replication.ReplicationManager..cctor () [0x00000] in :0 at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] in :0 at checkconnection.check () [0x00000] in :0 at UnityEngine.Application+LowMemoryCallback.Invoke () [0x00000] in :0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in :0 at System.ComponentModel.ProgressChangedEventHandler.Invoke (System.Object sender, System.ComponentModel.ProgressChangedEventArgs e) [0x00000] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in :0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an exception. at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] in :0 at checkconnection.check () [0x00000] in :0 at UnityEngine.Application+LowMemoryCallback.Invoke () [0x00000] in :0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in :0 at System.ComponentModel.ProgressChangedEventHandler.Invoke (System.Object sender, System.ComponentModel.ProgressChangedEventArgs e) [0x00000] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in :0 at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in :0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in :0 UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()
(Filename: currently not available on il2cpp Line: -1)
Same problem, its driving me crazy, if someone can help please do. <3