Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Max message size cannot be greater than 65527

$
0
0
Hi,

I am trying to send a jpeg image (about 692KB) through network using unity low level transport layer APIs. I created an unreliable fragmented channel for it but when I sent the jpeg byte array using NetworkTransport.Send(), I got the error message in the title. Can someone help me?

My code for setting up the network connection:
//network initialisation
NetworkTransport.Init();
connConfig = new ConnectionConfig();
channelID = connConfig.AddChannel(QosType.UnreliableFragmented);...

Max message size cannot be greater than 65527

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>