lidgren / lidgren-network-gen3

Lidgren Network Library
https://groups.google.com/forum/#!forum/lidgren-network-gen3
MIT License
1.19k stars 331 forks source link

NetBitWriter.ReadByte NullReferenceException #44

Closed jbruening closed 9 years ago

jbruening commented 9 years ago

occasionally, NetBuffer.ReadByte is throwing a nullreference on what appears to be a perfectly valid message.

nullref

As in the image, the buffer has data (and not visible, but the position is 0), but a nullref is being thrown from NetBitWriter.

built straight from c42b885

lidgren commented 9 years ago

Duplicate of #45