I have wrote my UNET server and client on separate projects and everything works great, however recently I discovered an issue that I can’t figure out how to fix. (Maybe because it’s 1 AM? :P).
So, I can leave the server on for 24 hours with no problems assuming the client doesn’t tab out of the game (causing it to pause).
When the clients game pauses it seems UNETs message queue gets clogged up with the packets they’re supposed to be receiving and handling, and since they’re paused and don’t do this eventually (within 30 or so seconds of them pausing) I get the “no free events for message” warning.
I was wondering if anyone had any ideas for how I could fix/solve this problem without making the client “run in background”.
Is this possibly something Unity can prevent from happening in UNET itself?
Thanks for any replies.