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.
-
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.
-
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:
-
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.
-
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.