# create session with steam set up fails

**URL:** <https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583>\
**Category:** Platform & Builds\
**Tags:** Steam, unreal-engine, Multiplayer, CPP, Blueprint, question\
**Created:** [July 20, 2016, 1:03pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583 "2016-07-20T13:03:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maynlie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maynlie](https://forums.unrealengine.com/u/Maynlie)\
**Post date:** [July 20, 2016, 1:03pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583/1 "2016-07-20T13:03:03Z")

</div>

Hello every one,

I’ve been looking for different sources and tutorial to setup my game for steam but I can’t get it to work.  
First, my DefaultEngine.ini looks like this:  
[/Script/Engine.GameEngine]  
!NetDriverDefinitions=ClearArray  
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”),DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)

```
[OnlineSubsystem]
DefaultPlatformService=Steam
PollinIntervallInMs=20

[OnlineSubSystemSteam]
bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90

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

```

And in the , I added those lines:

```
PublicDependencyModuleNames.AddRange(new string[]{..."OnlineSubsystem","OnlineSubsystemUtils"});

DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");

```

If I’m using the setup for OnlineSubsystemNull, it works fine. But with this setup, I have the following errors:

```
CreateSession - Invalid or uninitialized OnlineSubsystem
CreateSession - Cannot map local player unique net ID

```

which should mean that my setup is somehow wrong but I have no Idea what. I’ve been reading forums for days but none of the solutions seems to work. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [July 20, 2016, 5:13pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583/2 "2016-07-20T17:13:39Z")

</div>

Hey Maynlie,

The first thing to consider is, did you install the Steamworks SDK? You can read how here:

[https://docs.unrealengine.com/latest/INT/Programming/Online/Steam/#installingthesteamworkssdk](https://docs.unrealengine.com/latest/INT/Programming/Online/Steam/#installingthesteamworkssdk)

The second is, after you set up the Steamworks SDK, your DefaultEngine.ini,and [GameName].Build.cs files for Steam, did you compile your game project?

---

<div class="post-metadata">

**Author:** ![Maynlie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maynlie](https://forums.unrealengine.com/u/Maynlie)\
**Post date:** [July 20, 2016, 5:54pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583/3 "2016-07-20T17:54:41Z")

</div>

I had this link:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

that said I didn’t have to download the SDK since the files are already in the Engine Folder (which is true, I checked it carefully). But I thought I also didn’t have to install it. So I’m following those step. Thanks for this, hope it will work.

---

<div class="post-metadata">

**Author:** ![Maynlie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maynlie](https://forums.unrealengine.com/u/Maynlie)\
**Post date:** [July 20, 2016, 7:39pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583/4 "2016-07-20T19:39:23Z")

</div>

So, I copied the necessary dll into the right directories (Win32 and Win64). Then, I builded my project in Visual Studio with the “Developpement Editor” option, and ran it. Still no change. I’m probably doing something wrong but I have no clue about what it is.

---

<div class="post-metadata">

**Author:** ![Maynlie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maynlie](https://forums.unrealengine.com/u/Maynlie)\
**Post date:** [July 25, 2016, 12:02pm UTC](https://forums.unrealengine.com/t/create-session-with-steam-set-up-fails/364583/5 "2016-07-25T12:02:15Z")

</div>

Problem solved. I was just silly enough to write [OnlineSubssystem] instead of [OnlineSubsystem]
