Any way to detect if disconnect is due to server issues?
Hello,
I'd like to know if there is a way to detect if disconnection happened due to issue on server side.
Players in my game have to spend in game money to play, and I'd like to be able to refund them if they were disconnected due to server issue.
Best regards
I'd like to know if there is a way to detect if disconnection happened due to issue on server side.
Players in my game have to spend in game money to play, and I'd like to be able to refund them if they were disconnected due to server issue.
Best regards
0
Comments
-
Second this.0
-
Hi @XenoBits @niki_walker_ubisoft,
Thank you for choosing Photon!
Please check:
-DisconnectCause
inOnFailedToConnectToPhoton
orOnConnectionFail
. (This old doc and this new one can tell you more about disconnect causes, we will try to update and improve this.)
- exception or error when trying to connect if any.
These pieces of information should tell you about the origin of the issue:
- Photon client
- Photon server
- other (connectivity WiFi/data, network LAN or WAN, router, routing, firewall, captive portal, etc.)0 -
I'll dig into this, thank you!0
-
also we usually recommend these two doc pages:0