Nothing seems to work to detect player disconnect! Any ideas?


I have a 2 player networked game where I’m using listen server model to connect the players.
And I now need to detect if one player disconnects so that I can send the other player home safely to his home map/level.

I have tried quite a few things and none of them seems to trigger anything when I close down a game client.
These are things I have tried without success:

Does anyone know how to do this?


(Logout or) OnLogout on GameMode did the trick for me

This might be helpful too. Below makes checking network changes more frequent.