-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken Networking #27
Comments
Protobuf-net can now serialize my world structure, however on deserialize sometimes there is a stackoverflow exception. |
One avenue of investigation is serialize and deserialize with the length prefix, to rule out if the messages are being merged. |
Just verified that the issue only occurs when sending server ticks to the client. |
The issue has something to do with deserializing a server tick message while deserializing the world. |
I might have fixed the issue. As this bug is hard to reproduce, i'm just going to put it on the bug watchlist. |
Fixed the issue with Marc Gravell's help. The real issue was TCP was being very selective when it sent messages and as such merged or only sent partial messages sometimes. This issue is fixed for now. However, more issues like this will occur until I handle partial messages in the future. |
Networking no longer works in the master branch. (Should have tested that)
Protobuf-net cannot serialize the net structure.
The text was updated successfully, but these errors were encountered: