I am not quite sure what exactly is happening, but whenever I call this script with the commented out part not commented out, I get error messages from vivox on the host that the channel is no longer active. I do not understand why the client leaving causes the host to leave. When I have the line commented out as shown, there are various issues with despawning the player and joining servers after that.
#Client Network Manager Shutting Down Shuts Down Host Session?
1 messages · Page 1 of 1 (latest)
Yea, shutting down the network manager will also shutdown the session
If you want to keep Vivox active after leaving the game, I think the easiest way is to have multiple sessions. One for the group party chat and then another for match
My problem is that when a client leaves using my code, the host is being kicked out of the vivox session even though it is the host
Oh that's not supposed to happen
Make sure LeaveLobby() is not getting called on the host.
Also you don't have to destroy player objects manually. All network objects will get cleaned up when the network shuts down
The code that is running this is not a networkbehaviour, so I am checking the code on those rn to see if I somehow accidentally ctrl+c crtl+v 'd somewhere
It might be getting called from the player object. Or is somehow getting triggered when a client disconnects