Parse-SDK-dotNET icon indicating copy to clipboard operation
Parse-SDK-dotNET copied to clipboard

[Unity] Relation Query Fails with error on iOS.

Open aquaGhost1 opened this issue 10 years ago • 5 comments

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<ParseUser> ("FBFriends"); if (FBFriendsRelation != null) { ParseQuery<ParseUser> 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.

aquaGhost1 avatar Nov 03 '15 02:11 aquaGhost1

I think this is the same as #72.

kostub avatar Nov 12 '15 18:11 kostub

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.

richardjrossiii avatar Nov 12 '15 22:11 richardjrossiii

@richardjrossiii still occurring on 1.7.0.

aquaGhost1 avatar Jan 27 '16 05:01 aquaGhost1

I'll take another look at this.

richardjrossiii avatar Jan 27 '16 19:01 richardjrossiii

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

skumancer avatar Feb 06 '16 04:02 skumancer