# Dedicated server crash with OnlineSessionNull and Steam Game Client

**URL:** <https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683>\
**Category:** Platform & Builds\
**Tags:** dedicated-server, Steam, crash, unreal-engine, question\
**Created:** [August 29, 2018, 6:04am UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683 "2018-08-29T06:04:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BorodMorod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BorodMorod](https://forums.unrealengine.com/u/BorodMorod)\
**Post date:** [August 29, 2018, 6:04am UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683/1 "2018-08-29T06:04:41Z")

</div>

I have game Client with active Steam Integration

```
[OnlineSubsystem]
DefaultPlatformService=Steam

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

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

```

but Dedicated Server don’t use SteamSubsystem, it uses OnlineSubsystemNull.

When Player is trying to connect from SteamSubsystem to Dedicated Server without SteamSubsystem crash happen.

**About crash**  
OnlineSubsystemNullTypes.h line 12  
TEMP\_UNIQUENETIDSTRING\_SUBCLASS(FUniqueNetIdNull, NULL\_SUBSYSTEM);

that macro has check expression in constructor (OnlineSubsystemTypes.h line 942)

crash log

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b53ccd481](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b53ccd481](https://forums.unrealengine.com/u/anonymous_user_b53ccd481)\
**Post date:** [October 4, 2018, 3:23pm UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683/2 "2018-10-04T15:23:52Z")

</div>

I have this problem as well have you found the solution

---

<div class="post-metadata">

**Author:** ![Tobiw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tobiw](https://forums.unrealengine.com/u/Tobiw)\
**Post date:** [November 12, 2018, 8:24am UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683/3 "2018-11-12T08:24:54Z")

</div>

I have the same problem but with google play. Everything worked fine until i switched from 4.18 to 4.20, but now since the UniqeNetId type is GOOGLEPLAY and OnlineSubsystemNull checks if it’s equal to FName(“NULL”) it fails. The crashing assertion didn’t exist in 4.18, since they introduced different FUniqueNetId types. In 4.18 RegisterPlayer made an instance of FUniqueNetIdString, whereas in 4.20 onlinesubsystemnull makes an instance of FUniqueNetIdNull.

---

<div class="post-metadata">

**Author:** ![Dzhyrma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dzhyrma](https://forums.unrealengine.com/u/Dzhyrma)\
**Post date:** [May 18, 2019, 7:43am UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683/4 "2019-05-18T07:43:27Z")

</div>

Same here. New parameter `bUseSteamNetworking` helped only when Steam overlay is disabled. Basically unreal client crashes a dedicated server when tries to login with Steam activated. It shouldn’t behave like that for sure

---

<div class="post-metadata">

**Author:** ![Dzhyrma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dzhyrma](https://forums.unrealengine.com/u/Dzhyrma)\
**Post date:** [May 18, 2019, 7:57am UTC](https://forums.unrealengine.com/t/dedicated-server-crash-with-onlinesessionnull-and-steam-game-client/432683/5 "2019-05-18T07:57:38Z")

</div>

I’ve commented out engine source code (for dedicated server)  
/_check(GetType() == TYPE);_/  
in OnlineSubsystemTypes.h and it worked for me
