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
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