Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: RC on December 17, 2021, 10:46:27 AM
-
I was wondering if anyone manage to get pun2 room list info?
-
I don't know if you fund the soluce but I'm also facing the same problem, and the only clue I fund is on the Photon site:
https://doc.photonengine.com/en-us/pun/current/getting-started/migration-notes
In short:
PUN Classic (v1), PUN 2 and Bolt are in maintenance mode. We will support Unity 2022 with PUN 2, but no new features will be added. Of course all your PUN & Bolt projects will continue to work and run with the known performance in the future. For any upcoming or new projects: please switch to Photon Fusion or Quantum.
API Changes
PhotonNetwork.GetRoomList() is gone. You get rooms list and updates from ILobbyCallbacks.OnRoomListUpdate(List<RoomInfo> roomList) callback. You can optionally cache it, update it and clear it when needed. See snippet here.