# Simulator fails to join room

**URL:** <https://community.coherence.io/t/simulator-fails-to-join-room/297>\
**Category:** Bug reports\
**Created:** [May 28, 2023, 2:42am UTC](https://community.coherence.io/t/simulator-fails-to-join-room/297 "2023-05-28T02:42:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/kevin/32/410_2.png) [@Kevin](https://community.coherence.io/u/Kevin)\
**Post date:** [May 28, 2023, 2:42am UTC](https://community.coherence.io/t/simulator-fails-to-join-room/297/1 "2023-05-28T02:42:13Z")

</div>

## Description, details and error message(s)

My game uses simulators and I am currently using Coherence cloud to run them. When I create a new room from my client, it seems like the simulator is started on Coherence cloud but doesn’t seem to want to join the room. The dashboard claims that a simulator is running, and I can see that my client and my simulators are using the same schemaId, however, as far as I can tell, it never joins the room.

For context; when a simulator joins a room it seems a message to each of my clients, and my clients are not receiving any message indicating that the simulator has joined. Additionally, when I go to the Dashboard, there are no logs available under “Simulator logs”. There are however logs for the room itself, and I see that the room is eventually closed due to inactivity/idleTimeout.

The Dashboard also shows an error message when attempting to view the logs for the Simulator.

Room ID: 2203771208649

## Expected behaviour

The simulator joins the room and logs are available on the dashboard.

## Screenshots

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/e03c28591410b150470672e3cd15e269f13de4dd.png)

## Environment

SDK: v0.10.9  
Unity: n/a  
OS/Platform: n/a

---

<div class="post-metadata">

**Author:** ![Kevin](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/kevin/32/410_2.png) [@Kevin](https://community.coherence.io/u/Kevin)\
**Post date:** [May 28, 2023, 2:54am UTC](https://community.coherence.io/t/simulator-fails-to-join-room/297/2 "2023-05-28T02:54:30Z")

</div>

I just remembered I had similar issues previously: See this [Discord](https://discord.com/channels/618322516762558466/1091544596225470524) topic.

I disabled my custom Simulator connection script but had no luck. The challenging bit is that I can’t debug this if the simulator logs are unavailable.

---

<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:** [May 28, 2023, 1:16pm UTC](https://community.coherence.io/t/simulator-fails-to-join-room/297/3 "2023-05-28T13:16:13Z")

</div>

Hey, sorry about the logs issue - we are running into an issue right now with the integration with our upstream logs provider (Grafana cloud) specifically with simulator logs that we are working through. I hope to get it fixed very soon, and they should be accessible via the dashboard in a reliable way.

Regarding your simulator connection issue: I will DM you with logs and we can work through it.

---

<div class="post-metadata">

**Author:** ![Kevin](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/kevin/32/410_2.png) [@Kevin](https://community.coherence.io/u/Kevin)\
**Post date:** [May 28, 2023, 4:03pm UTC](https://community.coherence.io/t/simulator-fails-to-join-room/297/4 "2023-05-28T16:03:10Z")

</div>

Thanks for following up Brit. Happy to hear you are ontop of the logs issue. With the logs you provided I was able to find the issue in my custom connection script.

From my thread on Discord:

Found the issue on my end. My simulator was trying to connect twice it seems due to me not understanding that Awake is called even if a component is not enabled. This misunderstanding causes my custom connection script + the default Coherence auto connection to both try and establish the connection, which seems to confuse something down the line.
