# Issue with Hosting a Game Using Steam Online Subsystem in Unreal Engine 5.4

**URL:** <https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 13, 2024, 6:37am UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708 "2024-12-13T06:37:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skylegolastrr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skylegolastrr](https://forums.unrealengine.com/u/Skylegolastrr)\
**Post date:** [December 13, 2024, 6:37am UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/1 "2024-12-13T06:37:02Z")

</div>

Hello everyone,

I’m encountering an issue while attempting to host a game in my project using Steam Online Subsystem with Advanced Sessions. Here’s a summary of the problem:

- **Blueprint Setup:** I’m using **Steam Advanced Sessions** to handle hosting and joining games. The level is opened via the `listen` command in my **Game Instance**.
- **Subsystem Behavior:**
  - With **Online Subsystem Null** selected, I can successfully host a game in **Standalone Mode** , and everything works as expected.
  - However, when I disable the Null subsystem and enable the **Steam Online Subsystem** , pressing “Host Game” either fails to start the game or loads the map for about one second before returning to the main menu.

- **Additional Details:**
  - I’ve enabled **SteamSockets** and configured the necessary entries in my **DefaultEngine.ini**.
  - My Plugins folder includes only **Steam Advanced Sessions** and **Advanced Sessions** plugins.
  - I have Steamworks SDK installed, but I’m unsure where exactly to place it in the project directory when working with packaging or testing.

- **Unreal Engine Version:** I am using Unreal Engine 5.4.
- **Urgency:** My game is scheduled to launch on Steam in two weeks, and this issue is preventing me from finalizing the multiplayer functionality.

I’ve followed various tutorials and documentation, but I haven’t been able to resolve this problem. Any advice or guidance on what might be causing the game to fail when using the Steam subsystem would be greatly appreciated.

Thank you in advance for your time and assistance!

---

<div class="post-metadata">

**Author:** ![BRGDemianLopez](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgdemianlopez/32/1052421_2.png) [@BRGDemianLopez](https://forums.unrealengine.com/u/BRGDemianLopez)\
**Post date:** [December 13, 2024, 3:23pm UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/2 "2024-12-13T15:23:29Z")

</div>

Hey @Skylegolastrr can you share the logs when using OnlineSubsystemSteam?

---

<div class="post-metadata">

**Author:** ![Nightwolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightwolf/32/917179_2.png) [@Nightwolf](https://forums.unrealengine.com/u/Nightwolf)\
**Post date:** [December 13, 2024, 5:02pm UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/3 "2024-12-13T17:02:51Z")

</div>

Every tutorial i have ever tried has failed for me, until i followed [this one](https://www.youtube.com/watch?v=5nMKEKV0acI&ab_channel=Hanayou)  
Lmk how that goes for you

Also turn off steam sockets  
you have to also use the gameinstance provided by advanced sessions

---

<div class="post-metadata">

**Author:** ![Skylegolastrr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skylegolastrr](https://forums.unrealengine.com/u/Skylegolastrr)\
**Post date:** [December 15, 2024, 2:07pm UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/4 "2024-12-15T14:07:43Z")

</div>

I’m encountering an issue with my multiplayer game on Steam, and I could use some help troubleshooting.

### Setup

- **Game:** Multiplayer game developed in Unreal Engine using **Advanced Sessions** and **Steam Subsystem**.
- **Server:** Host server is created using the **Create Advanced Session** node in the Game Instance.
- **Client:** Connects to the hosted server via **Find Sessions** and joins successfully.
- **Steam Overlay:** Fully functional, launching the game via Steam displays the overlay with no issues.
- **Deployment:** Game is uploaded as a valid Steam depot.

### Issue

When connecting to the hosted server, the ping always shows as **9999** , even when using two different Steam accounts on separate computers on the same local network. This issue also causes erratic physics behavior, such as players being stuck or moving too fast.

* * *

### Logs

Below are two key logs:

**1. Log from Steam when launching the game:**

```auto
Setting breakpad minidump AppID = 1234567
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198123456789 [API loaded no]

```

**2. Log from the standalone session:**

```auto
LogSteamShared: Display: Loading Steam SDK 1.57
LogSteamShared: Steam SDK Loaded!
LogOnline: STEAM: Starting SteamWorks. Client [1] Server [1]
LogOnline: STEAM: [AppId: 1234567] Client API initialized 1
LogOnline: STEAM: [AppId: 1234567] Game Server API initialized 1
LogOnline: STEAM: Initializing SteamNetworking Layer
LogOnline: OSS: Created online subsystem instance for: Steam
LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for type [Steam]
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default

```

* * *

### What I’ve Tried

1. **AppID:** Verified the AppID in the game files, Steamworks settings, and DefaultEngine.ini.
2. **Standalone Tests:** Ran the standalone game with `-log` and confirmed SteamSubsystem initialization messages.
3. **Steam Overlay:** Verified that the overlay is working correctly.
4. **Server and Client Tests:** Hosted and joined a session using two accounts on different PCs but on the same network.

Despite the above, the ping remains 9999, which seems to cause instability during gameplay.

### Questions

1. Could this be an issue with how SteamSubsystem handles local connections, or is it related to networking configuration in Unreal Engine?
2. Is the log message `[API loaded no]` indicative of a problem with Steam API initialization, despite the subsystem seemingly working?

I’d appreciate any insights or suggestions for resolving this issue. Thank you!

---

<div class="post-metadata">

**Author:** ![Skylegolastrr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skylegolastrr](https://forums.unrealengine.com/u/Skylegolastrr)\
**Post date:** [December 15, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/5 "2024-12-15T14:08:10Z")

</div>

I’m encountering an issue with my multiplayer game on Steam, and I could use some help troubleshooting.

### Setup

- **Game:** Multiplayer game developed in Unreal Engine using **Advanced Sessions** and **Steam Subsystem**.
- **Server:** Host server is created using the **Create Advanced Session** node in the Game Instance.
- **Client:** Connects to the hosted server via **Find Sessions** and joins successfully.
- **Steam Overlay:** Fully functional, launching the game via Steam displays the overlay with no issues.
- **Deployment:** Game is uploaded as a valid Steam depot.

### Issue

When connecting to the hosted server, the ping always shows as **9999** , even when using two different Steam accounts on separate computers on the same local network. This issue also causes erratic physics behavior, such as players being stuck or moving too fast.

* * *

### Logs

Below are two key logs:

**1. Log from Steam when launching the game:**

```auto
Setting breakpad minidump AppID = 1234567
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198123456789 [API loaded no]

```

**2. Log from the standalone session:**

```auto
LogSteamShared: Display: Loading Steam SDK 1.57
LogSteamShared: Steam SDK Loaded!
LogOnline: STEAM: Starting SteamWorks. Client [1] Server [1]
LogOnline: STEAM: [AppId: 1234567] Client API initialized 1
LogOnline: STEAM: [AppId: 1234567] Game Server API initialized 1
LogOnline: STEAM: Initializing SteamNetworking Layer
LogOnline: OSS: Created online subsystem instance for: Steam
LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for type [Steam]
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default

```

* * *

### What I’ve Tried

1. **AppID:** Verified the AppID in the game files, Steamworks settings, and DefaultEngine.ini.
2. **Standalone Tests:** Ran the standalone game with `-log` and confirmed SteamSubsystem initialization messages.
3. **Steam Overlay:** Verified that the overlay is working correctly.
4. **Server and Client Tests:** Hosted and joined a session using two accounts on different PCs but on the same network.

Despite the above, the ping remains 9999, which seems to cause instability during gameplay.

### Questions

1. Could this be an issue with how SteamSubsystem handles local connections, or is it related to networking configuration in Unreal Engine?
2. Is the log message `[API loaded no]` indicative of a problem with Steam API initialization, despite the subsystem seemingly working?

I’d appreciate any insights or suggestions for resolving this issue. Thank you!

---

<div class="post-metadata">

**Author:** ![Nightwolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightwolf/32/917179_2.png) [@Nightwolf](https://forums.unrealengine.com/u/Nightwolf)\
**Post date:** [December 16, 2024, 4:42pm UTC](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/6 "2024-12-16T16:42:35Z")

</div>

> [@Issue with Hosting a Game Using Steam Online Subsystem in Unreal Engine 5.4](https://forums.unrealengine.com/t/issue-with-hosting-a-game-using-steam-online-subsystem-in-unreal-engine-5-4/2216708/3):
>
> Every tutorial i have ever tried has failed for me, until i followed [this one](https://www.youtube.com/watch?v=5nMKEKV0acI&ab_channel=Hanayou) Lmk how that goes for you Also turn off steam sockets you have to also use the gameinstance provided by advanced sessions

The video i linked answers all of your questions  
You can’t do it on the same computer unless you do it the way he does  
You have to use the AdvancedGameInstance provided by the advanced sessions

The answer is undo everything he didnt do in the video, make sure everything is spelled right and in the right place in your config and it should work provided your either using two different computers or use some kind of app to get around it

If your having problems in your game that’s down to replication issues
