# World Auto Resume Trouble

**URL:** <https://community.coherence.io/t/world-auto-resume-trouble/591>\
**Category:** Bug reports\
**Created:** [September 18, 2024, 8:17pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591 "2024-09-18T20:17:34Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://community.coherence.io/u/ehill)\
**Post date:** [September 18, 2024, 8:17pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/1 "2024-09-18T20:17:34Z")

</div>

## Description, details and error message(s)

Once a world stops it no longer seems to auto resume even though the dashboard shows that “Auto suspend/resume” is On.  
We call `_coherenceBridge.CloudService.Worlds.FetchWorlds(OnFetchWorlds);`  
but the world we want to join is not included in the results.

## Expected behaviour

Previously, I believe the world was included, then we called JoinWorld and were able to join the world

## Screenshots

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

## How to reproduce

**Steps:**

1. Set Auto suspend/resume set On
2. Let a world auto suspend
3. Attempt to join the world

## Environment

SDK: 1.2.3  
Unity: 6000.10f1  
OS/Platform: WebGL

---

<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:** [September 18, 2024, 9:13pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/2 "2024-09-18T21:13:20Z")

</div>

Did you perhaps stop the world explicitly? One thing that might not be clear is that if you stop the world explicitly, it will not auto-resume. This is an unclear UX issue that we will address.

If not, we’ll investigate what might be going on.

Also, the resume functionality happens on first _login_ of a player, are you awaiting a `WaitForCloudServiceLoginAsync` or similar API call before requesting worlds?

---

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://community.coherence.io/u/ehill)\
**Post date:** [September 19, 2024, 3:54pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/3 "2024-09-19T15:54:18Z")

</div>

Thanks @brit ,  
We may have stopped the world explicitly at some point, but we have since restarted it through the dashboard and yesterday I had to restart the world in the dashboard and then after about an hour it would stop (even though I was logging in pretty consistently), then I would start it in the dashboard again and after about an hour it would die again.  
I believe you have our login code that @michael.picerno shared. It does not have a WaitForCloudServiceLoginAsync call, but I’ll paste it below. It felt like something on the back end changed, because we didn’t change any login flow code (or anything related to coherence) and one day it was able to connect to this world fine and the next day it was not.

```auto
private async Awaitable ConnectToCoherence()
{
            Log(LogLevel.Debug, "Connecting to Coherence");

            _coherenceCloudService = _coherenceBridge.CloudService;

            Log(LogLevel.Verbose, "Waiting for _coherenceCloudService.IsConnectedToCloud...");
            while (!_coherenceCloudService.IsConnectedToCloud)
            {
                await Awaitable.NextFrameAsync();
            }

            Log(LogLevel.Verbose, "Waiting for _coherenceCloudService.Rooms.IsLoggedIn...");
            while (!_coherenceCloudService.Rooms.IsLoggedIn)
            {
                await Awaitable.NextFrameAsync();
            }

            _coherenceCloudService.Rooms.LobbyService.OnPlaySessionStarted += OnPlaySession;

            Log(LogLevel.Debug, "Requesting Regions");

            _connectToCoherenceRequestCompletionSource = new AwaitableCompletionSource();
            JoinCurrentRoomInRegion(newRegion: "us");

            if (_connectToCoherenceRequestCompletionSource != null)
            {
                await _connectToCoherenceRequestCompletionSource.Awaitable;
            }
}

```

---

<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:** [September 19, 2024, 7:11pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/4 "2024-09-19T19:11:18Z")

</div>

You are correct - after investigation we found a race condition in a throttle we are using on warming up project resources. We’ve implemented a fix and will be deploying it soon.

---

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://community.coherence.io/u/ehill)\
**Post date:** [September 19, 2024, 9:08pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/5 "2024-09-19T21:08:59Z")

</div>

[https://coherence.io/](https://coherence.io/) seems to be down, don’t know if it was related.

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

---

<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:** [September 20, 2024, 12:44pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/6 "2024-09-20T12:44:03Z")

</div>

Unfortunately, this was due to a web service provider we use on the website that was beyond our control. Sorry for the hiccup.

Also, just a heads up - we plan to deploy the warmup fix early next week as we are including other larger fixes. Are you able to start the world manually and work as needed until then?

---

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://community.coherence.io/u/ehill)\
**Post date:** [September 20, 2024, 10:56pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/7 "2024-09-20T22:56:40Z")

</div>

Thanks, glad to hear a fix is coming.  
We can get by with manually restarting it for now.  
The customers we are hoping to move to the new coherence based solution have high up time requirements in our SLAs. This would have been a tough situation if they were already moved over.

---

<div class="post-metadata">

**Author:** ![michael.picerno](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@michael.picerno](https://community.coherence.io/u/michael.picerno)\
**Post date:** [September 26, 2024, 7:46pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/8 "2024-09-26T19:46:29Z")

</div>

Is there an update for this?

---

<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:** [September 26, 2024, 8:35pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/9 "2024-09-26T20:35:44Z")

</div>

Ah, yes - we deployed this update yesterday. Apologies I forgot to ping this thread. Are you still seeing your world not auto-start?

---

<div class="post-metadata">

**Author:** ![michael.picerno](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@michael.picerno](https://community.coherence.io/u/michael.picerno)\
**Post date:** [September 26, 2024, 8:53pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/10 "2024-09-26T20:53:59Z")

</div>

I restarted it earlier this morning, it’s been up for 4 hours and hasn’t suspended yet. I can’t tell if there are any other connections to it at the moment to see if it has supposed to suspended.

---

<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:** [September 26, 2024, 9:29pm UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/11 "2024-09-26T21:29:39Z")

</div>

A quick scan of logs does show activity throughout the day today, so yes, the worlds auto-stop is at 1 hour: [https://coherence.io/dashboard/virbela/virbela/logs/us/worlds/26414826/replicator-worlds](https://coherence.io/dashboard/virbela/virbela/logs/us/worlds/26414826/replicator-worlds)

---

<div class="post-metadata">

**Author:** ![michael.picerno](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@michael.picerno](https://community.coherence.io/u/michael.picerno)\
**Post date:** [September 27, 2024, 4:50am UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/12 "2024-09-27T04:50:32Z")

</div>

Alrighty, thanks. Seems to be all good now.

---

<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:** [September 27, 2025, 4:50am UTC](https://community.coherence.io/t/world-auto-resume-trouble/591/13 "2025-09-27T04:50:33Z")

</div>

Closed on September 27, 2025, 4:50am UTC

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