PhotonNetwork.ConnectUsingSettings() silently fails, then shows Resending CMD logs

Options
Resending: CMD(5 c#:255 r/u: 127/0 st/r#/rt:139521/1/149521). times out after: 117 sent: 139521 now: 139645 rtt/var: 61/14 last recv: 32
UnityEngine.Debug:Log(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/Library/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1843)
ExitGames.Client.Photon.EnetPeer:SendOutgoingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:809)
ExitGames.Client.Photon.PhotonPeer:SendOutgoingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1430)
Photon.Voice.Unity.VoiceConnection:LateUpdate() (at Assets/Library/Photon/PhotonVoice/Code/VoiceConnection.cs:366)

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited January 2020
    Options
    Hi @wirelessdreamer,

    This stack trace is from Photon Voice 2 client and not from PUN 2.

    Make sure to check the return type of PhotonNetwork.ConnectUsingSettings and implement IConnectionCallbacks.OnDisconnected (MonoBehaviourPunCallbacks.OnDisconnected) callback to get connection failure or unexpected disconnects.