# Dedicated server with Steam is a joke

**URL:** <https://forums.unrealengine.com/t/dedicated-server-with-steam-is-a-joke/52620>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [January 16, 2016, 6:27pm UTC](https://forums.unrealengine.com/t/dedicated-server-with-steam-is-a-joke/52620 "2016-01-16T18:27:44Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![anonymous\_user\_6334e343](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6334e343](https://forums.unrealengine.com/u/anonymous_user_6334e343)\
**Post date:** [January 17, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/dedicated-server-with-steam-is-a-joke/52620/8 "2016-01-17T15:11:10Z")

</div>

I think you forgot to add all needed modules “OnlineSubsystemUtils”.

```auto

PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", **"OnlineSubsystem","OnlineSubsystemUtils"});**

```

In YourProject.h

```auto

#include "Online.h"
#include "OnlineSubsystem.h"
#include "OnlineSubsystemUtils.h"

```

Try that first

Edit: I think your error is .

```auto

IOnlineSubsystem* const OnlineSub = IOnlineSubsystem::Get();
if (OnlineSub)
{ ......
// Belive it should be 
IOnlineSubsystem* OnlineSub = IOnlineSubsystem::Get();

// And you can check for it like so.
if (!IOnlineSubsystem::DoesInstanceExist("Steam"))
{
	UE_LOG(YourOnlineSessionLog, Log, TEXT("FAILED: To find steam module instance."));
}

```

Also you need to bind the delegates for CreateSession().  
The task is async and will call CreateSessionCompleted Delegate when complete.  
And then you must call StartSession() and bind delegates when complete the session should be available online.

Edit: Just found this on the wiki it should help you out.

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

Hope it helps.

---

_[View the full topic](https://forums.unrealengine.com/t/dedicated-server-with-steam-is-a-joke/52620)._
