Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aquaGhost1 opened this issue Nov 3, 2015 · 5 comments
Open

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

aquaGhost1 opened this issue Nov 3, 2015 · 5 comments
Labels

Comments

@aquaGhost1
Copy link

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
Copy link
Contributor

kostub commented Nov 12, 2015

I think this is the same as #72.

@richardjrossiii
Copy link
Contributor

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
Copy link
Author

@richardjrossiii still occurring on 1.7.0.

@richardjrossiii
Copy link
Contributor

I'll take another look at this.

@skumancer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants