When a player connects I send a pretty big message with all the needed data of the game. It's a lot of data, but will be send only once. I get an error, however, stating that I'm writing too much to the NetworkWriter:
"NetworkWriter WriteBytes: buffer is too large (180221) bytes. The maximum buffer size is 64K bytes." when I use a byte array, and
"IndexOutOfRangeException: Serialize(string) too long: 180221" if I use the string representation of the data.
Why is there a limit on the size...
Too large message?
"NetworkWriter WriteBytes: buffer is too large (180221) bytes. The maximum buffer size is 64K bytes." when I use a byte array, and
"IndexOutOfRangeException: Serialize(string) too long: 180221" if I use the string representation of the data.
Why is there a limit on the size...
Too large message?