Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Cleaning up match rooms when host leaves

$
0
0
There's an issue with the matchmaker not cleaning up rooms after the host leaves. Meaning that you can create a room, leave and rejoin and it causes issues. If anyone else was having this issue, I might have found a way around it with the following overrides in my extension of NetworkLobbyManager:

Code (CSharp):
  1.  
  2.     public override void OnMatchCreate(CreateMatchResponse matchInfo)
  3.     {
  4.         base.OnMatchCreate(matchInfo);
  5.         if(matchInfo.success) {
  6.             hosted_room_match =...
Cleaning up match rooms when host leaves

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>