Debugging Across Two Runtimes and Two Different Languages | Alex Drum (Hytale) | GameDev Day 2026
In a Nutshell
Cross-runtime debugging requires treating the network protocol as the single source of truth, not the client or server code. Set breakpoints on both sides using a shared Correlation ID (tick + sequence) so you can immediately compare what each side believes about the same packet. When they disagree, the protocol definition—not transmitted data—reveals whether the fault is on the client, server, or in mismatched padding/enum values.
These notes were generated by AI and may contain inaccuracies.
Alex Drum, engine developer and architect at Hytale, begins with a live demonstration of a customer walking across the screen and hitting a box, triggering an immediate error. The inventory displays two items received when only one should have been picked up. The question of whether the error lies on the client or server side is posed before any introduction, establishing the core challenge of debugging across two different operating environments and languages.
When the client and server are two different programs in different languages connected only by a communication protocol, determining where to begin debugging becomes the fundamental question. The visible defect shows on the client with the wrong number in the inventory, but placing breakpoints in the display code wastes an hour because the fault does not lie with the customer. The answer lies in the protocol itself - comparing what each side thinks about the same thing pinpoints where the mistake lies.
The protocol serves as a clear line where the answer should never change across the middle. By asking each side separately what they think about a given value, if they disagree, the search area is immediately halved without opening any source files. Placing trust in the protocol or communication between sides provides a clear distinction about which side is telling the truth and which is lying.
Sign in to read the full notes
Get access to AI-generated notes, topic timestamps, and more.




