SteamAdvancedSessions for UE 5.0.1

I recently upgraded my project from 4.26 to 4.27 where I have had endless issues with Steam Sessions. If I launched the game from the UE project file it connected to Steam and I could host a game with no issues. However when I packaged the game, I could not host a game.

So I upgraded the project to 5.0.1 as someone said the Steam Sessions were fixed in this version. I am getting the below error message when packaging the game.
Could someone please explain how and where I can declare the AdvancedSteamSessions that the engine is looking for? I have edited multiple files but they just get reset and revert to default settings.

Any hints / advice would be greatly appreciated.



What happens if you do not install the AdvancedSession plugin in the engine but only in the project?

Then I get this warning.

Could you open your *.uproject file with a text editor and change

"Plugins": [
		{
			"Name": "AdvancedSession",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		}
	]

to

"Modules": [
		{
			"Name": "AdvancedSession",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		}
	]

Or test this example project:
AdvancedSession.zip (102.8 KB)

So this isn’t exactly what solved it but did lead to me figuring it out.
My .uproject file has multiple items within it so instead of changing (replacing) everything, I simply added the “Modules” section as a new section and that seems to have fixed it.

Also, with regards to having the plugin installed on only the project, I had the paths incorrect.
So your project (by default) probably wouldn’t have a “Plugins” folder so you would need to create that. Then within the “Plugins” folder I created a new folder called “Online” and then pasted the “AdvancedSteamSessions” and “AdvancedSessions” folders from my engine’s directory.

I have not yet tried joining the game with another player but I can host a game and that is fantastic! Thank you so much!