Hey all, I’ve stumbled upon an issue with sending smtp mail via my apps. The Android and desktop versions work fine however IOS does not. It also doesn’t crash, it simply does nothing. So I debugged it in Xcode and found it outputting the following error report. I have no idea why this is and what it means.
Has anyone else encountered anything like this and know what may be causing it? Any help/ advice would be a huge help as I really don’t know what to do next. I can provide more information if required. Thanks in advance
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
MissingMethodException: Method not found: ‘Default constructor not found…ctor() of System.Net.Configuration.MailSettingsSectionGroup’.
at Mono.Security.Uri.HexEscape (Char character) [0x00000] in :0
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0
at System.Configuration.ConfigInfo.CreateInstance () [0x00000] in :0
at iTween.easeInOutElastic (Single start, Single end, Single value) [0x00000] in :0
at System.Configuration.Configuration.GetSectionGroupInstance (System.Configuration.SectionGroupInfo group) [0x00000] in :0
at System.Configuration.ConfigurationSectionGroupCollection.get_Item (System.String name) [0x00000] in :0
at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.MonoInternalNoteAttribute…ctor (System.String comment) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at System.Net.Mail.SmtpClient…ctor (System.String host, Int32 port) [0x00000] in :0
at System.Net.Mail.SmtpClient…ctor (System.String host) [0x00000] in :0
at mono_gmail.SendCableDesignMail (System.String email, System.String cableLength, System.String colorCode) [0x00000] in :0
at PostSubmissionData+c__Iterator0.MoveNext () [0x00000] in :0
at System.Collections.Generic.Dictionary2+Transform1[System.Int32,UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.KeyValuePair`2[System.Int32,UnityEngine.EventSystems.PointerEventData]].EndInvoke (IAsyncResult result) [0x00000] in :0
System.Collections.Generic.Transform`1:EndInvoke(IAsyncResult)
(Filename: currently not available on il2cpp Line: -1)