Skip to content

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

Open

Description

@aquaGhost1

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.

Activity

  1. kostub commented on Nov 12, 2015

    @kostub
    Contributor

    I think this is the same as #72.

  2. richardjrossiii commented on Nov 12, 2015

    @richardjrossiii
    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.

  3. aquaGhost1 commented on Jan 27, 2016

    @aquaGhost1
    Author

    @richardjrossiii still occurring on 1.7.0.

  4. richardjrossiii commented on Jan 27, 2016

    @richardjrossiii
    Contributor

    I'll take another look at this.

  5. skumancer commented on Feb 6, 2016

    @skumancer

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions