yojimbo
yojimbo copied to clipboard
m_sentPackets sequence fix & some other minor changes
- Fix the assert that triggers if you only intermittently send reliable messages
- Clean up the
ackedfield which isn't being used
Not sure why this is failing on macOS, I'll investigate.
Huh. It ran fine when it was re-run, and I wasn't able to reproduce.
@gafferongames whenever you have time I'd love to hear your thoughts on this PR. It looks like a great fix to get rid of having to send dummy reliable packets to avoid the issue, but was curious as to what you think.
I'm concerned around the heisenbug on tests. Please run locally on MacOS and loop the tests (while true). If it's an intermittent timing related test failure, then this approach usually catches it.
I believe this has been fixed in another PR. If I'm wrong, please let me know.