Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Auto connection after leaving a room?

$
0
0
Hey there. When I leave the current room by calling PhotonNetwork.LeaveRoom(); the PUN automatically connects to another (or the same) room without even asking if i want to! Here is log So it seems like this is default behaviour for PUN, and all the wrong magic happens at NetworkingPeer:OnStatusChanged(StatusCode) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1922) How do I fix this? I want to leave the room and stay connected to the server, and join another room only when I press some button, or something like this

Viewing all articles
Browse latest Browse all 8947

Trending Articles



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