Thix project is really helpful,
I found a bug, I should have done a pr, maybe you can check it here.
|
_data.Write(data, SizeOfUInt32, length); // Skip size in memory buffer |
instead of
_data.Write(data, SizeOfUInt32, length);
it should be
_data.Write(data, length - _size, length);
otherwise you won't be able send messages larger than 256 bytes
Thix project is really helpful,
I found a bug, I should have done a pr, maybe you can check it here.
unity-example-unet-transport/Assets/Demo/Infrastructure/NetworkMessageReader.cs
Line 47 in f171a05
instead of
_data.Write(data, SizeOfUInt32, length);
it should be
_data.Write(data, length - _size, length);
otherwise you won't be able send messages larger than 256 bytes