parse-community / Parse-SDK-dotNET

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

[Unity] Relation Query Fails with error on iOS. #60

Open aquaGhost1 opened 8 years ago

aquaGhost1 commented 8 years ago

Error: Query a relation: Must specify a ParseObject class name when creating a ParseQuery.

Unity: We are using 4.6.7 but it also happens on 4.6.8. Parse plugin 1.6.1 for Unity. Xcode 6.4

When Querying a relation, we started getting this error after updating parse.

  1. It only happens on iOS, and not in the Unity editor. Query also works in API console.
  2. Did not happen in older version of Parse.

We are querying a relation in this manner: var FBFriendsRelation = ParseUser.CurrentUser.GetRelation ("FBFriends"); if (FBFriendsRelation != null) { ParseQuery q = FBFriendsRelation.Query;

In Xcode, the error happens on the final line. We tried this with a stub project that only does this query, and get the same result.

kostub commented 8 years ago

I think this is the same as #72.

richardjrossiii commented 8 years ago

Yep, I think you're correct. Currently my unity installation isn't fully working so I can't test ATM, but I'm going to close this for now. Feel free to re-open it if the problem persists.

aquaGhost1 commented 8 years ago

@richardjrossiii still occurring on 1.7.0.

richardjrossiii commented 8 years ago

I'll take another look at this.

skumancer commented 8 years ago

I'm getting this error as well when switching to IL2CPP. With Mono 2.0, relations work properly.