You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the synchronization message is greater than supported by the socket, it fails to send and therefore panics.
On windows 10 this limit is 64kB, which is ~2500 empty entities and significantly less when components are involved.
Ah, thanks for finding this! I'm pretty sure I've run into this issue and hadn't yet figured out where the crash was coming from. We could fix this with UDP pretty easily by splitting the message across multiple packets, though this also makes me want to investigate using proper IPC communication or maybe even TCP.
Ideally ipc-channel would be the way to go, but Windows support is still a work in progress. So in the meantime I'd probably suggest we go with TCP, since I think that will be the easiest for editor implementations to support.
Thinking about it a bit more, it's not going to be so trivial to convert to TCP 🤔 With TCP we'd have to manually manage connection states, send heartbeats, and track disconnections after a timeout. This is stuff we'll want to do eventually, but I'm not sure it's worth putting in that kind of effort for now. Instead I'm going to doing a pretty simple implementation of splitting the state message across multiple UDP packets.
If the synchronization message is greater than supported by the socket, it fails to send and therefore panics.
On windows 10 this limit is 64kB, which is ~2500 empty entities and significantly less when components are involved.
This code causes the error on my machine.
The text was updated successfully, but these errors were encountered: