Group Group Group Group Group Group Group Group Group

Introduction to Multiplayer Games With Unity and Photon | raywenderlich.com

Learn how to make your own multiplayer game with Unity and the Photon Unity Networking (PUN) library.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1142814-introduction-to-multiplayer-games-with-unity-and-photon

Hai. Really great tutorial. But after implementing as you said, when 2 players are connected, when i press Quit Game button in Master side nothing is happening. But when i press the button on Client side that app is closed and on Master side the Launcher scene is loaded but connection status is still ‘Connecting’. Can you please tell me the reason behind this phenomena? Thanks.

@raunaqness Can you please help with this when you get a chance? Thank you - much appreciated! :]

@vinodakula This usually happens when either

  1. the 2 clients connect to servers in different regions (print server name in logs to be sure), or
  2. very high latency on any one of the clients
  3. some bug in the Photon library

You should try :

  • print and view logs and you might see where the anomaly exists
  • check out photon forums, I faced a lot of similar issues myself while writing the tutorial

Good luck!