OverflowException: Number overflow

I found that the maximum amount of photon server single transmission of data only 8kb, is there any way to improve the amount of single transmission of data?

If the amount of data transmitted more than 8kb, unity client will be wrong ——
OverflowException: Number overflow.
ExitGames.Client.Photon.Protocol.DeserializeString (System.IO.MemoryStream din)
ExitGames.Client.Photon.Protocol.Deserialize (System.IO.MemoryStream din, Byte type)
ExitGames.Client.Photon.Protocol.DeserializeParameterTable (System.IO.MemoryStream memoryStream)
ExitGames.Client.Photon.Protocol.DeserializeOperationResponse (System.IO.MemoryStream memoryStream)
ExitGames.Client.Photon.PeerBase.DeserializeMessageAndCallback (System.Byte[] inBuff)
ExitGames.Client.Photon.EnetPeer.DispatchIncomingCommands ()
ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands ()
ExitGames.Client.Photon.PhotonPeer.Service ()
PhotonManager.Update () (at Assets/Scripts/PhotonManager.cs:36)
I would like to use the photon server to do the game's hot fix.
But now I can not transfer files over the 8kb.

Best Answer


Sign In or Register to comment.