Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

PhotonNetwork.GetRoomList() not listing rooms.

$
0
0
Hey, I've been messing around in Photon and right now I am in the process of trying to make Lobby page. I need to retrieve the lobbied (of course) but PhotonNetwork.GetRoomList() isn't returning any rooms. Here the code.

Heres the code:
Code (CSharp):
  1. public void listRooms(){
  2.         Debug.Log(PhotonNetwork.GetRoomList().Length);
  3.  
  4.         foreach (RoomInfo game in PhotonNetwork.GetRoomList()) {
  5.                ...UI portion here...
  6.         }
  7.     }
Heres how I create the server:...

PhotonNetwork.GetRoomList() not listing rooms.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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