# Disable steam networking

**URL:** <https://forums.unrealengine.com/t/disable-steam-networking/453170>\
**Category:** Platform & Builds\
**Tags:** online-subsystem, Networking, Steam, unreal-engine, question\
**Created:** [August 1, 2019, 7:28am UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170 "2019-08-01T07:28:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![YogevNa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YogevNa](https://forums.unrealengine.com/u/YogevNa)\
**Post date:** [August 1, 2019, 7:28am UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/1 "2019-08-01T07:28:42Z")

</div>

I am trying to connect to a none Steam session (either dedicated or other none Steam client), with no success.  
The DefaultEngine.ini I’ve added are:

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

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

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

[OnlineSubsystemSteam]
bUseSteamNetworking=false

```

This is for all users(Client and a none dedicated client “Server”)  
I want to connect to supposedly “Null” subsystem game (Via IP) with a client that has Steam Overlay.

How can I pull this off?

I want to have the Steam overlay on Client but to use the Null subsystem.

Thank you!

---

<div class="post-metadata">

**Author:** ![YogevNa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YogevNa](https://forums.unrealengine.com/u/YogevNa)\
**Post date:** [August 20, 2019, 3:38pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/2 "2019-08-20T15:38:11Z")

</div>

Still not resolved, Help!

---

<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:** [August 26, 2019, 2:51pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/3 "2019-08-26T14:51:48Z")

</div>

I have struggled with this too no results so far, I think the only way would be to not use subsystem and implement sdk yourself

---

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [September 4, 2019, 5:42pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/4 "2019-09-04T17:42:46Z")

</div>

Hello. I´m having the same issue and i can solve it. In the end, did you solve it swap between online subsystem?

---

<div class="post-metadata">

**Author:** ![Roblll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roblll](https://forums.unrealengine.com/u/Roblll)\
**Post date:** [July 12, 2020, 9:21pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/5 "2020-07-12T21:21:32Z")

</div>

You can now (since 4.22) use `bUseSteamNetworking=false` inside of `[OnlineSubsystemSteam]` - this fixes it for me! Steam overlay on clients works, dedicated server uses default net driver, client joins via default net driver.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56d22a2a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56d22a2a1](https://forums.unrealengine.com/u/anonymous_user_56d22a2a1)\
**Post date:** [July 12, 2020, 10:24pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/6 "2020-07-12T22:24:54Z")

</div>

That’s interesting. We are using `bUseSteamNetworking=false` in our 4.22.3 project but the client seems to determined to use `SteamNetDriver_0` instead of the default net driver `IpNetDriver_0`. More details here: [Server welcomes game client but client restarts the handshake process, then times out - Platform & Builds - Epic Developer Community Forums](https://answers.unrealengine.com/questions/970811/server-welcomes-game-client-but-client-restarts-th.html)

Would you mind sharing your DefaultEngine.ini? Maybe we are missing something

---

<div class="post-metadata">

**Author:** ![Eanir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eanir](https://forums.unrealengine.com/u/Eanir)\
**Post date:** [October 17, 2020, 10:57pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/7 "2020-10-17T22:57:38Z")

</div>

Any solution for this? We are facing the same issue.

---

<div class="post-metadata">

**Author:** ![D3lanK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@D3lanK](https://forums.unrealengine.com/u/D3lanK)\
**Post date:** [December 11, 2020, 12:32am UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/8 "2020-12-11T00:32:01Z")

</div>

In order to connect via raw IP I had to remove all steam net definitions in the DefaultEngine.ini

[OnlineSubsystemSteam]  
bUseSteamNetworking=false  
… other stuff

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

[OnlineSubsystem]  
DefaultPlatformService=Steam  
… other stuff

DO NOT HAVE THESE SECTIONS  
[PacketHandlerComponents]  
[/Script/OnlineSubsystemSteam.SteamNetDriver]

After doing that and making sure I

1. Restarted the Editor after modifying the ini
2. Recompiled BOTH the server and client so they have the same subsystem

I was getting disconnected due to incompatible\_unique\_net\_id  
So I then had to hack the engine in PendingNetGame.cpp by commenting out the following line  
//Connection-\>PlayerId = LocalPlayer-\>GetPreferredUniqueNetId();

WARNING: I have zero clue what other ramifications there are having a default PlayerId, but I know that’s whats happening if you run the game via editor or run the game without the steam client running. However since the id was simply Steam : DisplayName the value is not actually unique anyway.

---

<div class="post-metadata">

**Author:** ![mvitech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mvitech](https://forums.unrealengine.com/u/mvitech)\
**Post date:** [February 9, 2021, 9:31pm UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/9 "2021-02-09T21:31:55Z")

</div>

Thanks for this! Setting bUseSteamNetworking=false did not work on its own for me, but commenting out all references to SteamNetConnection and SteamAuthComponentModuleInterface in DefaultEngine.ini worked (while leaving DefaultPlatformService=Steam and OnlineSubsystemSteam bEnabled=true). Packaging a LinuxServer with these settings will still initialize the Steam OnlineSubsystem when the server starts up, but it will accept connections with default UE networking stack using IpNetDriver.

---

<div class="post-metadata">

**Author:** ![xMotherSplicedx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xMotherSplicedx](https://forums.unrealengine.com/u/xMotherSplicedx)\
**Post date:** [November 12, 2022, 12:33am UTC](https://forums.unrealengine.com/t/disable-steam-networking/453170/10 "2022-11-12T00:33:13Z")

</div>

The parts that work for me in 5.1 are to set up WindowsEngine.ini with the following

[OnlineSubsystem]  
DefaultPlatformService=Null

[OnlineSubsystemSteam]  
bEnabled=true  
bUseSteamNetworking=false  
SteamDevAppId=480  
AppId=480  
ModDir=spacewar  
GameServerQueryPort=27015  
GameVersion=1.0.0.0

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

if you forget to set bUseSteamNetworking=false here then even if you disable SteamSockets plugin in your project it will attempt to use the SteamSockets driver to connect to a server and will fail. Using this setup above I can run a server manually or deploy it to Amazon and connect to it from a client which is using Steam for authentication purposes but not for networking.
