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

hotonNetwork.GetRoomList() not listing rooms.

$
0
0
EDIT: Sorry about the title, missed the "P"

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.         }...
hotonNetwork.GetRoomList() not listing rooms.

Viewing all articles
Browse latest Browse all 16796

Latest Images

Trending Articles



Latest Images

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