- Home /
MissingMethodException - Parse and iOS 64-bit
In a game we are using parse, firebase and amazon.
When we build the game on 32-bit it works fine but with 64-bit it builds fine but some Parse function doesn't work and I think it has something to do with "link.xml".
This is the error we get from inside the app.
MissingMethodException: No constructor found for Parse.Common.Internal.FlexibleListWrapper`2[[System.Object, mscorlib, Version=2.0.5.0, Culture=, PublicKeyToken=7cec85d7bea7798e],[System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.5.0, Culture=, PublicKeyToken=7cec85d7bea7798e],[System.Object, mscorlib, Version=2.0.5.0, Culture=, PublicKeyToken=7cec85d7bea7798e]], mscorlib, Version=2.0.5.0, Culture=, PublicKeyToken=7cec85d7bea7798e]]::.ctor(System.Collections.Generic.List`1[System.Collections.Generic.IDictionary`2[System.String,System.Object]])
at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
at Parse.Utilities.Conversion.As[T] (System.Object value) [0x00000] in <filename unknown>:0
at Parse.Core.Internal.ParseEncoder.Encode (System.Object value) [0x00000] in <filename unknown>:0
at Parse.Core.Internal.ParseEncoder.Encode (System.Object value) [0x00000] in <filename unknown>:0
at Parse.ParseQuery`1[T].BuildParameters (Boolean includeClassName) [0x00000] in <filename unknown>:0
at Parse.Core.Internal.ParseQueryController.FindAsync[T] (Parse.ParseQuery`1 query, Parse.ParseUser user, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
at Parse.ParseQuery`1[T].FindAsync (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
at FacebookManager+<GetFriends>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
at FacebookManager.LoadFriends () [0x00000] in <filename unknown>:0
at FacebookManager.<LoadProfile>m__2 (IGraphResult r) [0x00000] in <filename unknown>:0
at Facebook.Unity.AsyncRequestString+<Start>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
FacebookManager:LoadFriends()
FacebookManager:<LoadProfile>m__2(IGraphResult)
Facebook.Unity.<Start>c__Iterator0:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
and in "link.xml"
<linker>
<!-- some firebase stuff-->
<assembly fullname="Parse.Common">
<namespace fullname="Parse" preserve="all"/>
<namespace fullname="Parse.Internal" preserve="all"/>
</assembly>
<!-- other amazon and system stuff -->
</linker>
One little thing in link.xml if I used Parse.Unity ins$$anonymous$$d; There will be a conflict while building that "System.Threading.Tasks" is defined multiple times
Answer by cbharara · Oct 02, 2017 at 04:19 PM
@Arshd Hi, I hope you got your problem fixed. I have a question: what version of Parse are you using? I'm using the last parse dll, 1.7.0, but Android Push Notifications are not working. Just wondering if you had a a newer version. Thanks!
Hey! Indeed I was using Parse version 1.7 but we used Firebase for Push Notifications.
I don't think there is an (official) newer version but if you've checked "Parse-SD$$anonymous$$-dotNet" on Github, there are others who are still trying still.
Here's a long discussion on that error, that might helps: https://github.com/parse-community/Parse-SD$$anonymous$$-dotNET/issues/166
There's this 'unofficial' 1.7.1 but I haven't tried it: https://github.com/parse-community/Parse-SD$$anonymous$$-dotNET/issues/265
Just FYI we ended up making our own API when we built for iOS it wasn't that much work
@Arshd Thanks for the quick answer! I just tried the 1.7.1 from the thread that you referenced, but it still has this error: https://github.com/parse-community/Parse-SD$$anonymous$$-dotNET/pull/195 that has been fixed in the codebase, but I can't find a working dll that has been created after the fix. I might end up using Firebase for PushNotifications as well.