Gama
Gama5w ago

Getting rooms

I'm looking to move over to Normcore from Photon Fusion 2, however I need the ability to list currently available rooms. Additionally I need to store some information per-room (eg. an associated level ID). Is this something that's possible with Normcore or something I could realistically add?
3 Replies
kapa.ai
kapa.ai5w ago
Hi @Gama. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Currently, Normcore does not provide a built-in API to list all available rooms or query the number of players in each room. This is a commonly requested feature, and the documentation states that it is something the team is working on, but for now, you will need to manage this yourself—typically by maintaining your own room directory on a backend service that tracks room creation and player counts as users join and leave rooms [Architecture Common Questions]. For storing per-room information (such as an associated level ID), you can use Normcore’s datastore. You can add custom fields to your room’s root model (using a RealtimeModel) to store metadata like a level ID. This data will be synchronized across all clients in the room and can be made persistent between sessions if needed [Room > RealtimeModel] [Room > Datastore]. Summary: - Room listing: Not natively supported; you must implement your own solution. - Per-room metadata: Fully supported via custom models in the datastore. If you need more advanced matchmaking or room listing features, you may need to build a small backend service to track and expose this information to your clients. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai5w ago
<@158129914074103808> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Mechabit
Mechabit5w ago
at the moment no, but normcore lobbies is in the works you can use unity lobby or some other lobby system in the mean time to list rooms

Did you find this page helpful?