I can create matches just fine and clients can join and play a match together.
If I want to host a match and then cancel that match I’ll call DestoryMatch, which doesn’t throw any errors itself, but then if I call CreateMatch again I get a missing reference error:
I’m pretty sure this shouldn’t be happening, how else are we supposed to create matches after destroying one?
Here you can see that creating a new matchmaking object has its own issue. I’ve also tried calling StopMatchmaker on the NetworkManager object and then StartMatchmaker but I get the same issue:
host id out of bound id {-1} max id should be greater 0 and less than {2}
UnityEngine.Networking.NetworkServer:Listen(MatchInfo, Int32)
NetManagerHud:MatchCreated(CreateMatchResponse) (at Assets/Scripts/Networking/NetManagerHud.cs:78)
UnityEngine.Networking.Match.<ProcessMatchResponse>c__Iterator0`1:MoveNext()