# Can't launch local Replication server outside of editor

**URL:** <https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642>\
**Category:** Bug reports\
**Created:** [February 13, 2025, 3:28pm UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642 "2025-02-13T15:28:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dyecode](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Dyecode](https://community.coherence.io/u/Dyecode)\
**Post date:** [February 13, 2025, 3:28pm UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642/1 "2025-02-13T15:28:26Z")

</div>

## Description, details and error message(s)

I wanted to try the Steam sample for a little project I’m working on.  
Downloaded it, used it in editor no problem. Made a build to use on my second computer, join the editor hosted lobby also no problem.  
And then I tried the other way around but I can’t launch the replication server with the build version.  
I verified the settings to bundle the replication server et verified the dll in the build all seems fine.  
I made no code modification, the only change is the Steam App Id

Error logs :

```auto
SteamManager: CoherenceBridge connection error Exception=Coherence.Connection.ConnectionException: No connection could be established because the target computer expressly refused it.
SteamManager: Replication server exited with code -100.

```

After some digging I found the enum NLError in the InteropAPI

```auto
public enum NlError
        {
            InvalidVal = -100,
            TimedOut = -101,
            Pipe = -102,
            WouldBlock = -103,
        }

```

Don’t know if it’s this error exactly.  
Thanks for the help !

## Expected behaviour

It should be possible to host a game in a fresh downloaded steam sample with a build without errors.

## Screenshots

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

## How to reproduce

**Rate: Every time**

**Steps:**

1. Download Steam Sample
2. Import in Unity Hub
3. Convert to Unity 6
4. Open Project
5. Change Steam App to a working one (480 for testing)
6. Bake coherence
7. Make a build
8. Try to host a game with the build sample

## Environment

SDK: 1.4.2  
Unity: 6000.0.37f1  
OS/Platform: Windows 11 x64

---

<div class="post-metadata">

**Author:** ![miguel-coherence](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/miguel-coherence/32/101_2.png) [@miguel-coherence](https://community.coherence.io/u/miguel-coherence)\
**Post date:** [February 14, 2025, 11:32am UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642/2 "2025-02-14T11:32:24Z")

</div>

Hi @Dyecode

Thank you for taking the time to report this issue.

We’ve detected an issue with the Replication Server bundling and is we’re not bundling the RS correctly in the latest version.

While we deploy a fix, you can work around this issue by copying the RS manually.

The RS exists in the folder: Library/PackageCache/io.coherence.sdk/Runtime~/{your\_platform}/replication-server.exe

You can copy this file to the StreamingAssets folder of your final build folder, inside the {your\_project\_name}\_Data folder.

Sorry for the inconvenience

---

<div class="post-metadata">

**Author:** ![Dyecode](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Dyecode](https://community.coherence.io/u/Dyecode)\
**Post date:** [February 14, 2025, 12:38pm UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642/3 "2025-02-14T12:38:02Z")

</div>

Hi !

Thanks for the response, with this little manipulation it works perfect !

Just started with coherence but it looks amazing.

---

<div class="post-metadata">

**Author:** ![miguel-coherence](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/miguel-coherence/32/101_2.png) [@miguel-coherence](https://community.coherence.io/u/miguel-coherence)\
**Post date:** [February 14, 2025, 2:02pm UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642/4 "2025-02-14T14:02:16Z")

</div>

Thank you!

Next patch 1.4.3 will include a fix for this issue.

---

<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:** [February 14, 2026, 2:02pm UTC](https://community.coherence.io/t/cant-launch-local-replication-server-outside-of-editor/642/5 "2026-02-14T14:02:23Z")

</div>

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