FIXED: OnRoomListUpdate not being called OnEnable
OnRoomListUpdate isn't displaying rooms that were created before the application was launched. I can only see new rooms being populated/removed for rooms created/destroyed AFTER the player has connected. Don't really know what to do about this cause this code has worked for me in the past. EDIT: Found out it was because I had been disabling the RoomList GameObject that contained this code and enabling it after it had connected to the lobby. Don't make my mistake!
0
Comments
-
public override void OnRoomListUpdate(List<RoomInfo> roomList) { //base.OnRoomListUpdate(roomList); UpdateRoomListView(roomList); print("I see rooms" + roomList.Count); } }
0