TauFrost
(TauFrost)
April 16, 2022, 9:40am
1
How do i initialize Steam with UE4? I followed the following articles and tutorials:
https://docs.unrealengine.com/5.0/en-US/online-subsystem-steam-interface/
Hi,
Just wanted to post this because it might help someone. It is mostly only useful to people who have been greenlit on Steam, but can also be of interest to those who are considering whether to apply to Steam or not. This tutorial shows how easy it is to add Steam achievements to your Unreal game.
Adding Steam Online Subsystem
Go to https://partner.steamgames.com/ and download Steamworks SDK
Follow the official tutorial at Online Subsystem Steam Interface | Unreal Engine 5.0 Documentat…
I downloaded steamclient64.dll, tier0_s64.dll and vstdlib_s64.dll from freedll as they are not part of Steam SDK.
I added
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)
[OnlineSubsystem]
DefaultPlatformService=Steam
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
bInitServerOnClient=true
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”
[PacketHandlerComponents]
+Components=OnlineSubsystemSteam.SteamAuthComponentModuleInterface
to “project_folder/Config/DefaultEngine.ini”
Steam overlay is not initialized when i start the game as standalone game, nor in the packaged exe.
I am not compiling UE from source.
What am i missing?
TauFrost
(TauFrost)
April 16, 2022, 7:19pm
2
So i found the reason here:
It’s bug with 4.26; I found a sample project for 4.27 and it works there.
So now i either upgrade my project to 4.27 or wait for a fix.
TauFrost
(TauFrost)
April 16, 2022, 7:47pm
3
Upgrading the project to 4.27 seem to have fixed the problem for now
TauFrost
(TauFrost)
April 18, 2022, 6:15pm
4
One more thing i would like to add as i spend another day just searching for reasons Steam wasn’t initializing in my project, when you make a shipping version, you need to include Steam_appid.txt, however, in my case i had to put it into
“Game_Name\WindowsNoEditor\project_name\Binaries\Win64”.
Putting it simply into “Game_Name/” did not work.