# SteamAPI failed to initialize.

**URL:** <https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846>\
**Category:** Platform & Builds\
**Tags:** Steam, unreal-engine, packaged-game, Multiplayer, question\
**Created:** [June 17, 2020, 4:05pm UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846 "2020-06-17T16:05:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casul\_Scrub](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/casul_scrub/32/466383_2.png) [@Casul\_Scrub](https://forums.unrealengine.com/u/Casul_Scrub)\
**Post date:** [June 17, 2020, 4:05pm UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/1 "2020-06-17T16:05:45Z")

</div>

## Using 4.25 With Advanced Steam Sessions, packaged development build using my app ID. If i build it out with app id of 480 everything works.

**On one test PC I get this**

LogSteamShared: Display: Loading Steam SDK 1.47  
LogSteamShared: Steam SDK Loaded!  
LogOnline: OSS: Creating online subsystem instance for: Steam  
LogSteamShared: Warning: SteamAPI failed to initialize, conditions not met.  
LogOnline: Warning: STEAM: Steamworks: SteamUtils() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamUser() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamFriends() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamRemoteStorage() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamUserStats() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamMatchmakingServers() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamApps() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamNetworking() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamMatchmaking() failed!  
LogOnline: STEAM: [AppId: 0] Client API initialized 0  
LogOnline: STEAM: [AppId: 1308960] Game Server API initialized 1  
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()  
LogSteamShared: Unloading the Steam server API…

**on another I get this**

LogSteamShared: Display: Loading Steam SDK 1.46  
LogSteamShared: Steam SDK Loaded!  
LogOnline: OSS: Creating online subsystem instance for: Steam  
LogOnline: STEAM: Steam User is subscribed 1  
LogOnline: STEAM: [AppId: 1308960] Client API initialized 1  
LogOnline: STEAM: [AppId: 1308960] Game Server API initialized 1  
LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [Steam]

**but both fail to create sessions.**

[2020.06.15-21.24.11:831][778]LogSockets: Warning: Unable to load SocketSubsystem module Steam  
[2020.06.15-21.24.11:977][778]LogNet: ReplicationDriverClass is null! Not using ReplicationDriver.  
[2020.06.15-21.24.11:977][778]LogNetCore: DDoS detection status: detection enabled: 0 analytics enabled: 0  
[2020.06.15-21.24.12:086][778]LogNet: Warning: Failed to init net driver ListenURL: /Game/Maps/LobbyLevel??listen: SteamSockets: setsockopt SO\_BROADCAST failed (0)  
[2020.06.15-21.24.12:093][778]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = NetDriverListenFailure, ErrorString = SteamSockets: setsockopt SO\_BROADCAST failed (0), Driver = GameNetDriver IpNetDriver\_2147481061  
[2020.06.15-21.24.12:093][778]LogNet: Warning: Network Failure: GameNetDriver[NetDriverListenFailure]: SteamSockets: setsockopt SO\_BROADCAST failed (0)  
[2020.06.15-21.24.12:101][778]LogNet: NetworkFailure: NetDriverListenFailure, Error: ‘SteamSockets: setsockopt SO\_BROADCAST failed (0)’  
[2020.06.15-21.24.12:101][778]LogBlueprintUserMessages: [GameInstanceinfo\_C\_2147482607]  
[2020.06.15-21.24.12:144][778]LogWorld: Failed to listen: SteamSockets: setsockopt SO\_BROADCAST failed (0)  
[2020.06.15-21.24.12:144][778]LogNet: DestroyNamedNetDriver IpNetDriver\_2147481061 [GameNetDriver]  
[2020.06.15-21.24.12:144][778]LogSockets: Warning: SteamSockets: Cannot get information on an invalid socket handle, returning null  
[2020.06.15-21.24.12:144][778]LogExit: GameNetDriver IpNetDriver\_2147481061 shut down  
[2020.06.15-21.24.12:144][778]LogNet: Error: LoadMap: failed to Listen(/Game/Maps/LobbyLevel??listen)

## DefultEngine.ini additions

[/Script/Engine.GameEngine]  
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)

[OnlineSubsystem]  
DefaultPlatformService=Steam  
PollingIntervalInMs=20  
bHasVoiceEnabled=false

[OnlineSubsystemSteam]  
bInitServerOnClient=true  
bEnabled=true  
SteamDevAppId=1308000  
GameServerQueryPort=27015  
bRelaunchInSteam=false  
GameVersion=1.0.0.0  
bVACEnabled=1  
bAllowP2PPacketRelay=true  
P2PConnectionTimeout=90

[/Script/OnlineSubsystemSteam.SteamNetDriver]  
NetConnectionClassName=OnlineSubsystemSteam.SteamNetConnection

[Plugins]  
+EnabledPlugins=VaRestPlugin

## [PacketSimulationSettings] PktLag=0 PktLagVariance=0 PktLoss=0 PktOrder=0 PktDup=0

Please send help.

---

<div class="post-metadata">

**Author:** ![Casul\_Scrub](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/casul_scrub/32/466383_2.png) [@Casul\_Scrub](https://forums.unrealengine.com/u/Casul_Scrub)\
**Post date:** [June 18, 2020, 10:58pm UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/2 "2020-06-18T22:58:22Z")

</div>

Solved: I was missing the .ico for the game. It is a 32x32.ico file. Once I uploaded the client image that and published the changes to steam it was able to create sessions. In order to test the server/lobby, I also had to create a key for my other test steam account so it would also have a valid copy.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfa5149c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfa5149c1](https://forums.unrealengine.com/u/anonymous_user_cfa5149c1)\
**Post date:** [June 19, 2020, 8:13am UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/3 "2020-06-19T08:13:33Z")

</div>

Same problem here!

---

<div class="post-metadata">

**Author:** ![ksimpson1986](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ksimpson1986](https://forums.unrealengine.com/u/ksimpson1986)\
**Post date:** [June 25, 2020, 2:17pm UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/4 "2020-06-25T14:17:28Z")

</div>

I’m in the same boat. I just got my steam ID today and plugged it in. Now the build is saying the same thing. Can you please elaborate on this .ico file that you needed? Client image? I’m confused! lol

---

<div class="post-metadata">

**Author:** ![ajeets1978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ajeets1978](https://forums.unrealengine.com/u/ajeets1978)\
**Post date:** [September 12, 2020, 3:12pm UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/5 "2020-09-12T15:12:10Z")

</div>

i have the same issue, what is this .ico file ??

LogSteamShared: Warning: SteamAPI failed to initialize, conditions not met.  
LogOnline: Warning: STEAM: Steamworks: SteamUtils() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamUser() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamFriends() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamRemoteStorage() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamUserStats() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamMatchmakingServers() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamApps() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamNetworking() failed!  
LogOnline: Warning: STEAM: Steamworks: SteamMatchmaking() failed!  
LogOnline: STEAM: [AppId: 0] Client API initialized 0  
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()  
LogOnline: Warning: STEAM: Steam API failed to initialize!  
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()

---

<div class="post-metadata">

**Author:** ![Sean221269](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean221269](https://forums.unrealengine.com/u/Sean221269)\
**Post date:** [June 17, 2023, 4:48am UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/6 "2023-06-17T04:48:08Z")

</div>

I had the same problem. I had already setup the .ico file, so that wasn’t my problem. Testing from my dev pc worked but another pc with a different steam account didn’t. What worked for me was to add that other steam account to the app:

1. Login to steamworks ([https://partner.steamgames.com/](https://partner.steamgames.com/)).
2. Go to Users & Permissions → Manage Users.
3. Click “Invite User” button and follow the process, which will do some email back and forth to invite/approve, etc.

BTW: The .ico file can be edited by going to the steamworks dashbord → your app → Edit Steamworks Settings → Community → Assets.

---

<div class="post-metadata">

**Author:** ![Ackhoury](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ackhoury](https://forums.unrealengine.com/u/Ackhoury)\
**Post date:** [August 1, 2023, 5:00am UTC](https://forums.unrealengine.com/t/steamapi-failed-to-initialize/466846/7 "2023-08-01T05:00:03Z")

</div>

Aside from the .ico I had to create default packages. To do this go to steamworks, click on your app, then “All Associated Packages, DLCs …” etc , Then on the top is a button named something like “Create Standard Packages”. Clicking this, and waiting a little made everything work! In other forum posts they say to contact steam, but it seems that they added a button!
