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

ButtonClicker bugs #264

Closed
denri11 opened this issue Dec 20, 2017 · 4 comments
Closed

ButtonClicker bugs #264

denri11 opened this issue Dec 20, 2017 · 4 comments

Comments

@denri11
Copy link

denri11 commented Dec 20, 2017

1) In the multiplayer game mode after connection established there is no way to go to screen_game scene. That’s because when onConnected() method called then always switchToMainScreen() method called. Default Waiting room UI calls onPause() on Activity, and in onResume() always called signInSilently() with this sequence of calls:

showWaitingRoom(room) -> onPause() -> startGame(true) -> switchToScreen(R.id.screen_game) -> onResume() -> signInSilently() -> onConnected() -> switchToMainScreen()

2) In onConnected() method
Multiplayer.EXTRA_TURN_BASED_MATCH should be replaced on Multiplayer.EXTRA_INVITATION

@mwgray
Copy link
Contributor

mwgray commented Jan 3, 2018

Good catch! Fixes incoming...

mwgray added a commit that referenced this issue Jan 3, 2018
use Multiplayer.EXTRA_INVITATION when retrieving an invitiation

Addresses both issues in #264

Change-Id: I8c3c9673bccad6d05e056b8583eb3d8cb89452c6
@mwgray
Copy link
Contributor

mwgray commented Jan 3, 2018

Hi @denri11, the latest code should fix the issue. I added some extra protections in there too. If you find any other oddities, feel free to re-open, or even submit your on PR!

@mwgray mwgray closed this as completed Jan 3, 2018
@denri11
Copy link
Author

denri11 commented Apr 2, 2018

Hi.
I don't know who else to turn to. There was a global issue with Google Play games services. Since March 28, about half of users do not work online multiplayer. I get a lot of emails from users. The problem is really global. With her faced many developers. This may be due to the Google services update on users ' devices. This may be a regional problem. I am in Minsk (Belarus), however through vpn Germany at me earned. I apologize for my English.

onRoomCreated(int statusCode, Room room) method throws an error:
statusCode 4

Other references describing the problem:
https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/play/dP3BHrI1vN4/CB_pwgHlCQAJ
https://stackoverflow.com/questions/49587007/google-play-service-real-time-multiplayer-is-broken
playgameservices/play-games-plugin-for-unity#2163

Thanks.

@alexanderkrupenkov
Copy link

alexanderkrupenkov commented Apr 3, 2018

Hello, I have the same problem with multiplayer. Many users notify me about problems with multiplayer. Usually it's from Russian.

I checked If I use VPN - Russia multiplayer doesn't work, if some different countries - it's work.

redls pushed a commit that referenced this issue Sep 8, 2020
use Multiplayer.EXTRA_INVITATION when retrieving an invitiation

Addresses both issues in #264

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

No branches or pull requests

3 participants