Closed
Description
When starting a host, a client is started. When stopping the host later, the same client is not removed from the connected client list. I would expect MLAPI to disconnect and stop the host client.
To Reproduce
- Observe without doing anything,
NetworkingManager.Singleton.ConnectedClientsList
has no items - Call
StartHost()
- Observe
NetworkingManager.Singleton.ConnectedClientsList
has one item, which is the host's client - Call
StopHost()
- [BUG] Observe
NetworkingManager.Singleton.ConnectedClientsList
still has one item, which is the host's client
Expected behavior
Host's client is no longer connected and is stopped.
Environment (please complete the following information):
- OS: Windows 10
- Unity Version: 2019.4
- MLAPI Version: 12.1.7