Unable to create online sessions with Steam Subsystem

I have been having some issues with the steam subsystem. Whenever Steam is active, I can host a game, and the game can be connected to over the internet via IP address. When I switch to the steam version of the game (which is the same version, just launching with steam enabled) I am absolutely unable to join or host an online session.

I have attempted to secure a connection through steam in two different ways.

  1. Using an “Execute console command” node in blueprint, and hosting a listen server that way, which the player can then use the same node to connect directly to the host’s IP address.

  2. Using a “Create Session” node in blueprint, which creates a session from the subsystem I selected in my defaultEngine.ini config file.

Both of which I have tested extensively with and without the steam subsystem enabled. Here’s what I found:

  1. Using the console command, which hosts a level as a listen server on the Host’s IP, I found that I was ONLY able to connect to a server without the steam subsystem enabled. If I launch it with steam - It won’t connect. If I launch it without steam - It never fails.

  2. Using the create session method yields somewhat similar results. I am unable to even create a server with the Steam subsystem. On the “Create session” node, I am using the “Failed to create session” execution output to display an error, which it only ever fails on the steam subsystem.
    With this method, if I set the node to create the session on LAN, it does work in every case, with or without steam
    .

With all of this, I think it’s safe to say that the steam subsystem is at fault here, but why? What’s happening?
Whenever I launch the game in the editor as a standalone project, I get the steam overlay, so the DefaultEngine.ini should be correct, but who knows.

My game is Greenlit, and has it’s own app ID. I’m not sure if that is useful information, but i’m just throwing everything I’ve got out there, so that maybe somebody can help me come to a solution with this issue.

I have researched this problem extensively, and I have seen other people being asked whether or not they have a source code version, or just the “off-the-shelf” version of unreal engine. I am using an “off-the-shelf” version of unreal using only blueprints, which from everything I have read, this should be possible without any C++.

Thanks for taking the time to read this, if you have any further questions about my situation, I will answer them all to the best of my ability.

Bumping because this isn’t getting very many views.

Bumping again

Bumping again :frowning:

Bumping again

Do note, in order for your App ID to be used there needs to be a Depot in the App ID, otherwise, Steam will not notice it. I would recommend you use the 480 App ID and Use a Plugin Called Advanced Sessions: Advanced Sessions Plugin - Community Content, Tools and Tutorials - Unreal Engine Forums (Grab whatever Engine Version you are running)

Hey MrJamesWatson, thank you for the reply!
I’m using the app ID that valve gave me, and it’s works because whenever I launch my game, steam tells all of my friends that I’m playing the game with the ID I set, even when I play it standalone in editor.

I have tested the create session node with both the subsystem enabled and LAN enabled, and I’ve tested it with and without steam enabled as the subsystem.

The only time that the create session mode doesn’t work is when I have steam subsystem enabled, and when I have LAN enabled.

Having the same problem, would be nice if someone could help :slight_smile:

Same here. Use LAN checked make the Create Advanced Session node to fail if I use OSS. What can I do to make a complete menu which offers hosting a server in Steam/LAN with no errors?

I can’t remember exactly how I fixed it, but I will suggest 2 things.

  1. Download the “Advanced Sessions” plugin. This will make your life 1000x easier when working with steam. It exposes a bunch of new blueprint nodes to use with Steam.
  2. Check to make sure that in your “Steamapps/common/GAMENAMEHERE/” folder, you have a file called “steam_appid.txt” (I didn’t see that mentioned here)

I can’t remember exactly how I fixed it, but I will suggest 2 things.

  1. Download the “Advanced Sessions” plugin. This will make your life 1000x easier when working with steam. It exposes a bunch of new blueprint nodes to use with Steam.
  2. Check to make sure that in your “Steamapps/common/GAMENAMEHERE/” folder, you have a file called “steam_appid.txt” (I didn’t see that mentioned here)