x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE older version
Tags:
more ▼

asked Feb 09 '17 at 01:19 AM in Blueprint Scripting

avatar image

Prestonator
25 3 9 11

avatar image Prestonator Feb 09 '17 at 07:46 PM

Bumping because this isn't getting very many views.

avatar image Prestonator Feb 11 '17 at 11:19 PM

Bumping again

avatar image Prestonator Feb 15 '17 at 02:52 AM

Bumping again :(

avatar image Prestonator Feb 21 '17 at 12:04 AM

Bumping again

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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: https://forums.unrealengine.com/showthread.php?69901-Advanced-Sessions-Plugin (Grab whatever Engine Version you are running)

more ▼

answered Feb 21 '17 at 01:07 AM

avatar image

Austin_WGames
40 6 7 11

avatar image Prestonator Feb 21 '17 at 02:59 PM

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.

avatar image gon. Mar 24 '19 at 03:24 AM

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?

avatar image TSpartanT Jul 06 '18 at 07:59 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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)

more ▼

answered Mar 24 '19 at 09:41 PM

avatar image

TSpartanT
121 17 20 26

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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)

more ▼

answered Mar 24 '19 at 09:41 PM

avatar image

TSpartanT
121 17 20 26

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question