parse-community / Parse-SDK-dotNET

Parse SDK for .NET, Xamarin, Unity.
http://parseplatform.org
Apache License 2.0
323 stars 261 forks source link

[Unity3D] Parse 1.7.0 & Firebase conflict while building 64-bit iOS #264

Closed artourky closed 6 years ago

artourky commented 7 years ago

We are using Unity 5.5 and Parse 1.7.0 which doesn't have "Parse.Unity.dll" and while on Editor everything is working fine but when we build using il2cpp on iOS the game produces an error of "MissingMethodException: No constructor found for Parse.Common.Internal.FlexibleListWrapper`2".

I think it's because of stripping, I've tried to include "Parse.Core" and "Parse.Common" in "link.xml" but still same error while I was looking for solutions I found that there's a file "Parse.Unity.dll" that should have been in the project from the start but when I try to include it in our project another error but this time in Unity Editor that says "System.Threading.Tasks.Task is defined multiple times" and that's because -I think- the new Parse.Unity.dll and Unity.Task.dll from Firebase, and if I try to delete that firebase dll another error appears...

Please, any help is appreciated :(

EDIT: I'd like to tell you that We find a way to work around these errors. Since it seemed that Parse only produces these error on iOS and only some queries not all, We made our own APIs to handle these specific queries. Like for sorting a Leaderboard or crossmatching two tables, and It worked.

I'm not sure about Unity 2017.2 yet but hopefully it will work, Parse is great and I'd like to use it again.

subhradeepc commented 6 years ago

Even im stuck with the "System.Threading.Tasks.Task is defined multiple times", any help ? guys ?

montymxb commented 6 years ago

Closing as it looks like this should be fixed by #267. A release is not yet available for this. I'm going through a bunch of the existing issues first to see the state of things, so stay posted.

If this has not been resolved by the latest changes please let me know and I'll reopen this.