# About automatically joining the room after entering the lobby.

**URL:** <https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725>\
**Category:** Help\
**Created:** [July 16, 2025, 4:26pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725 "2025-07-16T16:26:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sota.gamify](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@sota.gamify](https://community.coherence.io/u/sota.gamify)\
**Post date:** [July 16, 2025, 4:26pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725/1 "2025-07-16T16:26:47Z")

</div>

Question :  
I read the OnPlaySessionStarted API, which says, “If a Callback is not supplied, coherence will automatically join the specified RoomData.” Does this mean that if I do not use lobbies.OnPlaySessionStarted += OnLobbyPlaySessionStarted;, it will automatically join the room?

Requirement :  
I want the player to automatically join the room when they call FindOrCreateLobbyAsync, without waiting for the Lobby Owner to call “StartGameSessionAsync”

Reference:  
OnPlaySessionStarted API

> **[OnPlaySessionStarted](https://unityapi.coherence.io/docs/v1.7.0/api/Coherence.Cloud.LobbiesService.OnPlaySessionStarted.html?q=OnPlaySessionStarted)**
>
> Callback that will be invoked when a Lobby owner you're a part of starts a game. The Callback contains the Lobby ID and the RoomData that you can use to join the game session through CoherenceBridge.JoinRoom. If a Callback is not supplied, coherence...

Lobby

> **[Lobbies | coherence Documentation](https://docs.coherence.io/hosting/coherence-cloud/coherence-cloud-apis/lobbies)**

Looking forward to your reply.

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [July 16, 2025, 5:31pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725/2 "2025-07-16T17:31:23Z")

</div>

If a player is in the lobby when the lobby owner starts the session, they will automatically join the room.

If a player joins the lobby after the game has started, you’ll need to use the lobby RoomData like in the snippet here to manually join the room: [Lobbies | coherence Documentation](https://docs.coherence.io/hosting/coherence-cloud/coherence-cloud-apis/lobbies#handling-lobbies-when-logging-in)

---

<div class="post-metadata">

**Author:** ![sota.gamify](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@sota.gamify](https://community.coherence.io/u/sota.gamify)\
**Post date:** [July 16, 2025, 8:38pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725/3 "2025-07-16T20:38:02Z")

</div>

So,lobby owner must call StartGameSessionAsync for players (including the lobby owner) to enter the room?

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [July 16, 2025, 11:08pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725/4 "2025-07-16T23:08:52Z")

</div>

Yes, if you want to rely on this automatic functionality. If you want to manage rooms completely separate from lobbies, then you can do something like:

1. use a lobby to coordinate players with attributes
2. create a room outside of the lobby “start game” system using the normal coherence rooms API
3. add the room data to a lobby attribute
4. use lobby attributes (and hence the room to join data) by all future members of the lobby to join as needed

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/b3aa79eb9519fac7aad7eba18f15a1e8ce60f6e2.png) [@system](https://community.coherence.io/u/system)\
**Post date:** [October 14, 2025, 11:09pm UTC](https://community.coherence.io/t/about-automatically-joining-the-room-after-entering-the-lobby/725/5 "2025-10-14T23:09:48Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
