I attached a project with 11 lines of code where ClientScene.localPlayers acts like this:
Bug: ClientScene.localPlayers not cleared after disconnecting
- list is empty at first
- when selecting 'Start Host', the list gets one entry (the current player), everything fine so far
- when selecting 'Stop', the list still has one entry but with invalid values like:
- localPlayer: ID=0 NetworkIdentity NetID=null Player=null
- after selecting 'Start Host' again, the list has a valid player entry again
Bug: ClientScene.localPlayers not cleared after disconnecting