Skip to content Skip to sidebar Skip to footer

Google Play Services, Sign In Succeeded But Error On Create Room

This is very similar to a problem someone else had on here except that the solution that fixed theirs is not my problem. (Note: I am using libgdx to develop this but I'm pretty sur

Solution 1:

Are you creating the room by Auto-Picking a name? Or by selecting someone in your circles?

I have not published my app in final release (several months of alpha/beta testing, and I'm close :) ), but when I create rooms that I have invited people that are NOT part of the testing group, I get Error 6 (and in fact I have created methods to handle that situation for the release version.. if that same error occurs when a user tries to create a room when released)

If the auto-pick works fine, and you have added the selected people into your testing emails, then the only time I've gotten error 6 would be when the network is having issues (whether on my end or Google's, not sure) but it has been very temporary in nature.

So, I would think ensuring that they are part of your testing group (and may even have to have installed the app, not sure on that part as I haven't tested that out... new test to add!), would be where I would start.

Solution 2:

Figured it out. Misleading Javadoc plus human error.

enter image description here

I took that second argument to mean the max number of players, not the max number of players to invite, hence you + 3 others.

So here is the culprit in my code =p

Bundleam= RoomConfig.createAutoMatchCriteria(1, 4, 0);

Should be

Bundleam= RoomConfig.createAutoMatchCriteria(1, 3, 0);

And now it works just fine =)

Post a Comment for "Google Play Services, Sign In Succeeded But Error On Create Room"