Hi Guys
My problems
I had a problem to send big size of bytes through UNet.
I transfer a render texture to a texture 2D and encode it to an array of byte.
And I want to transmit those bytes from server to client.
The way I transmit is similar to this reference in Stack Overflow
uNET - Send big amount of data over network (How to split send byte[ ]?)
My Configures
The average size is from around 9000 bytes to 12000 bytes.
My send rate is 10 times per seconds.
My Channel is Reliable Sequenced (the default channel 0 in NetworkManager)
There is only one client and the server itself.
It worked at the first 190 to 205 transmissions, and after that it jumps out three error.
It sometime jumps out a no Resources error. And I increase the maxSentMessageQueueSize to 512 and the error somehow disappear.
I don’t know if this is a proper way to transmit a big data, if there is any other way, please tell me.
Thanks a lot!