Skip to content

Instantly share code, notes, and snippets.

@kavyak28
Created January 11, 2022 11:39
Show Gist options
  • Save kavyak28/4fb87c9f21f6d68e306e4365a27559fc to your computer and use it in GitHub Desktop.
Save kavyak28/4fb87c9f21f6d68e306e4365a27559fc to your computer and use it in GitHub Desktop.
indexoutofrangeexception
IndexOutOfRangeException: Index was outside the bounds of the array.
GamePlayScript.ShowAllGamePlayersCardsintheUI (System.Int32 playerIndex, System.Boolean isShow) (at <81ab95a87633491884aca0e3196cb0ab>:0)
GamePlayScript.HandleGameUISetupToPlayer (System.Int32 prevGameState, System.Single timeInSecs) (at <81ab95a87633491884aca0e3196cb0ab>:0)
GamePlayScript.onGamePlayDataInfoFromMasterReceived (System.Int32 playerID, System.String gamePlayData, System.String bidGameplaydata, System.Single timeInSecs) (at <81ab95a87633491884aca0e3196cb0ab>:0)
PhotonManager.sendGamePlayInfoToPlayerRPC (System.Int32 playerID, System.String gamePlayData, System.String bidGameplaydata, System.Single timeinSecs) (at <81ab95a87633491884aca0e3196cb0ab>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fdedd5ea241c4356a5a965cc305c0fd2>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fdedd5ea241c4356a5a965cc305c0fd2>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <fdedd5ea241c4356a5a965cc305c0fd2>:0)
Photon.Pun.PhotonNetwork.ExecuteRpc (ExitGames.Client.Photon.Hashtable rpcData, Photon.Realtime.Player sender) (at <8f4c167b47604d0a9b8a354de1b0e4c2>:0)
Photon.Pun.PhotonNetwork.OnEvent (ExitGames.Client.Photon.EventData photonEvent) (at <8f4c167b47604d0a9b8a354de1b0e4c2>:0)
Photon.Realtime.LoadBalancingClient.OnEvent (ExitGames.Client.Photon.EventData photonEvent) (at <b65b9c211b154035ab8f0e57e29b6e5f>:0)
ExitGames.Client.Photon.PeerBase.DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer stream) (at <47b9481a32d74622af3b66fd46ad2a32>:0)
ExitGames.Client.Photon.EnetPeer.DispatchIncomingCommands () (at <47b9481a32d74622af3b66fd46ad2a32>:0)
ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands () (at <47b9481a32d74622af3b66fd46ad2a32>:0)
Photon.Pun.PhotonHandler.Dispatch () (at <8f4c167b47604d0a9b8a354de1b0e4c2>:0)
Photon.Pun.PhotonHandler.FixedUpdate () (at <8f4c167b47604d0a9b8a354de1b0e4c2>:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment