Advanced Sessions Plugin

4.23 is live in the repo and binaries are uploaded to the website.

I’ll note that I had the intention to have the repository moved over to GitHub by 4.23’s release but I didn’t make it in time, I will be shifting it over later.

We have a weird issue adding Steam sessions with Create Advanced Session. Wondering if you can help.

We’re calling Create Advanced Session from our GameMode, it works fine on a Windows dedicated server, but oddly fails to create a session on a Linux dedicated server. All other factors are the same on both servers (same build of the game, Steam updated, etc).

The Steam API goes on to successfully initialize the game server and assign a Server ID. It just doesn’t create a session, so doesn’t show up in the Server List / Find Sessions.

I believe this worked at least once before. What would cause Create Advanced Session to fail?

Hey man, I have been trying to get this plugin to work on 4.22 but I run across an issue.

When I run my application on two computers on the same network, they can find and join each others sessions without issue. The problem is when I give my friend the application and we try to connect. It returns 0 results when finding sessions. I port forwarded my router’s 7777 port for UDP and TCP. Also, LAN is NOT enabled on the CreateAdvancedSession and FindSessionsAdvanced functions.

Any ideas? We both live in the US. However, he lives in Hawaii and I live in North Carolina. Any help would be much appreciated. Thanks!

[quote=“mvitech”]

We have a weird issue adding Steam sessions with Create Advanced Session. Wondering if you can help.

We’re calling Create Advanced Session from our GameMode, it works fine on a Windows dedicated server, but oddly fails to create a session on a Linux dedicated server. All other factors are the same on both servers (same build of the game, Steam updated, etc).

The Steam API goes on to successfully initialize the game server and assign a Server ID. It just doesn’t create a session, so doesn’t show up in the Server List / Find Sessions.

I believe this worked at least once before. What would cause Create Advanced Session to fail?

Is it actually throwing that failure pin? If so it should be printing to the log some sort of message.

[quote=“GuacFrog, post:2294, topic:30020”]

Hey man, I have been trying to get this plugin to work on 4.22 but I run across an issue.

When I run my application on two computers on the same network, they can find and join each others sessions without issue. The problem is when I give my friend the application and we try to connect. It returns 0 results when finding sessions. I port forwarded my router’s 7777 port for UDP and TCP. Also, LAN is NOT enabled on the CreateAdvancedSession and FindSessionsAdvanced functions.

Any ideas? We both live in the US. However, he lives in Hawaii and I live in North Carolina. Any help would be much appreciated. Thanks!

With what? The Null subsystem? That one won’t work out of LAN because it doesn’t have a master server to record sessions too, you have to use or create a subsystem that handles server registration or directly connect with “Open IP” in console.

[quote=“, post:2295, topic:30020”]

Is it actually throwing that failure pin? If so it should be printing to the log some sort of message.

With what? The Null subsystem? That one won’t work out of LAN because it doesn’t have a master server to record sessions too, you have to use or create a subsystem that handles server registration or directly connect with “Open IP” in console.

The Steam subsystem. I have it pulling the Steam username and friends list successfully. I just can’t get it to connect outside of the same network.

[quote=“GuacFrog, post:2296, topic:30020”]

The Steam subsystem. I have it pulling the Steam username and friends list successfully. I just can’t get it to connect outside of the same network.

If you are on AppID 480 then it is region locked and you need to switch to the same download region on steam as your friend, or get your own AppID.

[quote=“, post:2297, topic:30020”]

If you are on AppID 480 then it is region locked and you need to switch to the same download region on steam as your friend, or get your own AppID.

Interesting. I will give this a shot and let you know how it goes. Thanks for the advice!

[quote=“, post:2297, topic:30020”]

If you are on AppID 480 then it is region locked and you need to switch to the same download region on steam as your friend, or get your own AppID.

I have another question relating to this plugin. I created a new 4.23 project and the steam subsystem works in a standalone game (I can get the steam username) but when I package the game for windows 64, I get a fatal error when calling any blueprint method included with your plugin (such as get player name, or create advanced session). Any idea why? I followed the instructions closely.

I want to fix this fatal error first so that I can test the game on a friends computer (to fix my earlier problem of download region differences).

[quote=“, post:2297, topic:30020”]

If you are on AppID 480 then it is region locked and you need to switch to the same download region on steam as your friend, or get your own AppID.

Sorry for the lack of details. Here is the log file.

My file directory for the plugins is as follows :
ProjectRoot/Plugins/AdvancedSessions/AdvancedSessions
ProjectRoot/Plugins/AdvancedSessions/AdvancedSteamSessions

Perhaps I should move both of those directories directly into the Plugins folder? Although, I’m not sure this would matter since the plugin works in a standalone version.

Any ideas? Surely I’m not the only one with this issue. I have reproduced it multiple times. It seems that packaging disables the plugin for some reason (at least in 4.23).

[quote=“GuacFrog, post:2302, topic:30020”]

Any ideas? Surely I’m not the only one with this issue. I have reproduced it multiple times. It seems that packaging disables the plugin for some reason (at least in 4.23).

Ah you have a blueprint only project, my 4.23 pre-compiled package was missing some of its binaries.

I re-uploaded with a fresh build

That fixed the problem. Thanks!

Now I am attempting to solve the connection problem. My friend won’t be online to help me test until later today.
However, I threw on a VPN and changed the Steam download region on a different computer on my network (to see if it would have trouble connecting) but it was able to connect to the server on my computer just fine.

Which means 1) It can connect because it’s on the same network despite the VPN 2) The download region isn’t what keeps my friend from connecting. What keeps him from connecting is related to not being on the same network.

I’l let you know how the test goes when he get’s on later. I’m not entirely confident that it will work.

Hello all!

I would like to start off by saying thank you to the creator of this plugin, I am really enjoying it.

However I have a strange problem, I am able to host games and have others join absolutely fine. But only when steam is not open. When steam is open I load into the level for a split second then the game goes black. I am pretty stumped any help would be greatly appreciated.

I am using 4.23 if that helps any.

[quote=“BiGiRON1999, post:2305, topic:30020”]

Hello all!

I would like to start off by saying thank you to the creator of this plugin, I am really enjoying it.

However I have a strange problem, I am able to host games and have others join absolutely fine. But only when steam is not open. When steam is open I load into the level for a split second then the game goes black. I am pretty stumped any help would be greatly appreciated.

I am using 4.23 if that helps any.

Unsure? Sounds like some initialization issue on your camera manager or a bad loading screen. The steam subsystem doesn’t actually really do anything after you are loaded into the actual level.

thanks for responding.

I have tested also without the loading screen, same issue though. Could it possibly have something to do with how the plug-in is installed? Just really weird how it works perfectly with steam closed.

[quote=“BiGiRON1999, post:2307, topic:30020”]

thanks for responding.

I have tested also without the loading screen, same issue though. Could it possibly have something to do with how the plug-in is installed? Just really weird how it works perfectly with steam closed.

No, the plugin doesn’t have anything to do with the level loading, check your log for errors.

thanks for your help, and as it usually goes dumb simple solution. I missed the top line you’re supposed to paste into the DefaultEngine.ini. Now it works like a champ!

i think you can make some good money by selling this on the marketplace

Hey everyone, I am having a problem that I was hoping I could get some help with.

I have a project that, suddenly, I cannot connect to other players, whether it be 2 instances on my computer or to my laptop with the same build as me. Strangely, my friend can connect to other instances running on his computer and to my other friend that has the same build, it’s just that I cannot connect to other sessions. I went back to previous builds where it was working but still no luck. When I launch the game in a build or as standalone it says im playing “Spacewar” and I can Shift-Tab into steam, but I cannot join sessions. Anyone else have the same problem?