parse-community / parse-community/Parse-SDK-dotNET
[Unity] Relation Query Fails with error on iOS.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 335
- Forks
- 258
- PR merge metrics
- No merged PRs in 30d
Description
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.
- It only happens on iOS, and not in the Unity editor. Query also works in API console.
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported ParseUser.CurrentUser.GetRelation("FBFriends") call and the Relation.Query entry point, then reproduce the issue in a Unity iOS build using the stated Parse plugin and Xcode versions. Done means the relation query no longer raises the missing ParseObject class-name error on iOS while continuing to work in the Unity editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, unity
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100