# Unexpected GSPolicyResponse callback ue5 dedicated steam server

**URL:** <https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, question, CPP\
**Created:** [October 7, 2025, 5:42pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077 "2025-10-07T17:42:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArticPhantom007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArticPhantom007](https://forums.unrealengine.com/u/ArticPhantom007)\
**Post date:** [October 7, 2025, 5:42pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/1 "2025-10-07T17:42:23Z")

</div>

Hello,

i am trying to make a dedicated steam server for my Game.  
I am using to Advanced Session and Advanced Steam Session plugin.  
I am using UE5.6 from source Build  
For now I am using AppID=480

Everytime I start the dedicated Server I got the Errors shown in the server log.  
Does someone have the same Problem?

I already tried with SteamSockets and without, no difference…  
I need help.

Thanks -

OnlineSessionAsyncServerSteam.cpp

```auto
#ifndef UE_PROJECT_STEAMPRODUCTNAME
#define UE_PROJECT_STEAMPRODUCTNAME "spacewar"
#endif //UE_PROJECT_STEAMPRODUCTNAME

#ifndef UE_PROJECT_STEAMGAMEDIR
#define UE_PROJECT_STEAMGAMEDIR "spacewar"
#endif // UE_PROJECT_STEAMGAMEDIR

#ifndef UE_PROJECT_STEAMGAMEDESC
#define UE_PROJECT_STEAMGAMEDESC "Spacewar"
#endif // UE_PROJECT_STEAMGAMEDESC

```

Server.Target.cs

```auto
using UnrealBuildTool;
using System.Collections.Generic;

public class Extraction_ShooterServerTarget : TargetRules
{
    public Extraction_ShooterServerTarget(TargetInfo Target) : base(Target)
    {
        Type = TargetType.Server;
        DefaultBuildSettings = BuildSettingsVersion.V5;
        IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_6;
        ExtraModuleNames.Add("Extraction_Shooter");

        GlobalDefinitions.Add("UE_PROJECT_STEAMSHIPPINGID=480");
        GlobalDefinitions.Add("UE_PROJECT_STEAMPRODUCTNAME=\"spacewar\"");
        GlobalDefinitions.Add("UE_PROJECT_STEAMGAMEDIR=\"spacewar\"");
        GlobalDefinitions.Add("UE_PROJECT_STEAMGAMEDESC=\"Spacewar\"");
        GlobalDefinitions.Add("UE_SERVER_USE_PRESENCE=0");
    }
}

```

DefaultEngine.ini

```auto
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="/Script/SteamSockets.SteamNetSocketsNetDriver")

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=True
SteamDevAppId=480
SteamAppId=480
bUseSteamNetworking=false

[/Script/SteamSockets.SteamSocketsNetDriver]
NetConnectionClassName="/Script/SteamSockets.SteamSocketsNetConnection"

[PacketHandlerComponents]
+Components=OnlineSubsystemSteam.SteamAuthComponentModuleInterface

```

Server Output Log:

```auto
LogSteamShared: Display: Loading Steam SDK 1.57
LogSteamShared: Steam SDK Loaded!
Setting breakpad minidump AppID = 480
LogOnline: STEAM: [AppId: 480] Game Server API initialized 1
LogOnline: STEAM: AUTH: Steam Auth Enabled
LogOnline: OSS: Created online subsystem instance for: STEAM
LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for type [STEAM]
LogConfig: Applying CVar settings from Section [/Script/CompositeCore.CompositeCorePluginSettings] File [Engine]
...
[2025.10.07-17.22.59:408][0]LogWorldPartition: Display: WorldPartition initialize started...
[2025.10.07-17.22.59:408][0]LogWorldPartition: UWorldPartition::Initialize : World = /Game/level/MapMaster/MapMaster.MapMaster, World Type = Game, IsMainWorldPartition = 1, Location = V(0), Rotation = R(0), IsEditor = 0, IsGame = 0, IsPIEWorldTravel = 0, IsCooking = 0
[2025.10.07-17.22.59:408][0]LogWorldPartition: UWorldPartition::Initialize Context : World NetMode = Dedicated Server, IsServer = 1, IsDedicatedServer = 1, IsServerStreamingEnabled = 0, IsServerStreamingOutEnabled = 0, IsUsingMakingVisibleTransaction = 0, IsUsingMakingInvisibleTransaction = 0
[2025.10.07-17.22.59:408][0]LogWorldPartition: Display: WorldPartition initialize took 322 us
[2025.10.07-17.22.59:412][0]LogLoad: Game class is 'GM_GameMode_C'
[2025.10.07-17.22.59:412][0]LogCsvProfiler: Display: Metadata set : iris="0"
[2025.10.07-17.22.59:412][0]LogNet: ReplicationDriverClass is null! Not using ReplicationDriver.
[2025.10.07-17.22.59:412][0]LogNetCore: DDoS detection status: detection enabled: 0 analytics enabled: 0
[2025.10.07-17.22.59:412][0]LogNet: InitBase GameNetDriver (NetDriverDefinition GameNetDriver) using replication model Generic
[2025.10.07-17.22.59:413][0]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2025.10.07-17.22.59:413][0]LogNet: Name:GameNetDriver Def:GameNetDriver SteamSocketsNetDriver_2147482478 started listening on 7777
[2025.10.07-17.22.59:413][0]LogWorld: Bringing World /Game/level/MapMaster/MapMaster.MapMaster up for play (max tick rate 30) at 2025.10.07-19.22.59
[2025.10.07-17.22.59:413][0]LogWorld: Bringing up level for play took: 0.000270
[2025.10.07-17.22.59:416][0]LogLoad: Took 0.021529 seconds to LoadMap(/Game/level/MapMaster/MapMaster)
[2025.10.07-17.22.59:416][0]LogGlobalStatus: UEngine::LoadMap Load map complete /Game/level/MapMaster/MapMaster
[2025.10.07-17.22.59:419][0]LogInit: Display: Engine is initialized. Leaving FEngineLoop::Init()
[2025.10.07-17.22.59:419][0]LogLoad: (Engine Initialization) Total time: 2.30 seconds
[2025.10.07-17.22.59:453][0]LogLiveCoding: Display: Successfully initialized, removing startup thread
[2025.10.07-17.22.59:453][0]LogTrace: Display: Control listening on port 34350
[2025.10.07-17.22.59:519][3]LogSteamSocketsAPI: Warning: SteamSockets API: Warning SDR network config fetch attempt #1 failed. HTTP 504. . Trying again.
[2025.10.07-17.22.59:553][4]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Got SDR network config. Loaded revision 1757966882 OK
[2025.10.07-17.22.59:553][4]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Performing ping measurement
[2025.10.07-17.22.59:554][4]LogSteamSocketsAPI: Verbose: SteamSockets API: Log SDR RelayNetworkStatus: avail=Attempting config=OK anyrelay=Attempting (Performing ping measurement)
[2025.10.07-17.23.03:176][114]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Ping measurement completed in 3.5s. Relays: 23 valid, 3 great, 10 good+, 15 ok+, 7 ignored
[2025.10.07-17.23.03:176][114]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Ping location: ams=15+1,fra=15+1,ams4=24+2/16+1,lhr=25+2/20+1,par=23+2/24+1,vie=29+2/26+1,sto2=35+3/35+1,sto=40+4/35+1,waw=35+3/36+1,iad=110+11/101+1,gru=211+21/215+2,sgp=265+26/220+18
[2025.10.07-17.23.03:177][114]LogSteamSocketsAPI: Verbose: SteamSockets API: Log SDR RelayNetworkStatus: avail=OK config=OK anyrelay=OK (OK. Relays: 23 valid, 3 great, 10 good+, 15 ok+, 7 ignored)
[2025.10.07-17.23.05:381][181]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Gameserver logged on to Steam, assigned identity steamid:90275216748947457
[2025.10.07-17.23.05:382][181]LogSteamSocketsAPI: Verbose: SteamSockets API: Log AuthStatus (steamid:90275216748947457): Attempting (Requesting cert)
[2025.10.07-17.23.05:382][181]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Set SteamNetworkingSockets P2P_STUN_ServerList to '155.133.248.38:3478' as per SteamNetworkingSocketsSerialized
[2025.10.07-17.23.05:648][189]LogSteamSocketsAPI: Verbose: SteamSockets API: Log AuthStatus (steamid:90275216748947457): OK (OK)
[2025.10.07-17.23.05:648][189]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Certificate expires in 48h00m at 1760030585 (current time 1759857784), will renew in 46h00m

[2025.10.07-17.23.05:714][190]LogOnline: Warning: STEAM: Unexpected GSPolicyResponse callback
[2025.10.07-17.23.19:454][608]LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskSteamCreateServer bWasSuccessful: 0' failed in 15.001879 seconds
[2025.10.07-17.23.19:455][608]LogBlueprintUserMessages: [GI_Mutiplayer_Sessions_C_2147482567] Server Start Failed

```

---

<div class="post-metadata">

**Author:** ![pdd2588](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pdd2588](https://forums.unrealengine.com/u/pdd2588)\
**Post date:** [October 7, 2025, 8:20pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/2 "2025-10-07T20:20:14Z")

</div>

I also encountered the same problem. I also tried using SteamSocket, but it didn’t improve

---

<div class="post-metadata">

**Author:** ![Xreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xreal](https://forums.unrealengine.com/u/Xreal)\
**Post date:** [October 12, 2025, 10:52pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/3 "2025-10-12T22:52:02Z")

</div>

Having the exact same issue on 5.6.1

Any news or is this a downgrade angle?

---

<div class="post-metadata">

**Author:** ![thomas\_s815](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thomas\_s815](https://forums.unrealengine.com/u/thomas_s815)\
**Post date:** [October 23, 2025, 2:27pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/4 "2025-10-23T14:27:17Z")

</div>

I have the exact same error (5.6.1). Tried to troubleshoot it for the past week but i just cant get it to work either. I tried all the different configurations for the DefaultEngine.ini, WindowsEngine.ini and WindowsServerEngine.ini. Because the Unexpected GSPolicyResponse callback comes from steam its hard to debug in UE itself. The problem only seems to be with a dedicated server setup tho. Creating a listen session works (there are other problems later on with joining the session, but creation works). By now i think this must be a Bug in the SteamOSS in 5.6.1. I just hope that maybe 5.7 fixes it.

---

<div class="post-metadata">

**Author:** ![pdd2588](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pdd2588](https://forums.unrealengine.com/u/pdd2588)\
**Post date:** [October 31, 2025, 5:57pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/5 "2025-10-31T17:57:25Z")

</div>

I was able to successfully create a session on version 5.4, but it consistently failed from version 5.6 to version 5.7. I found that they were missing some key code, which is the code in version 5.4

```auto
virtual void Finalize() override
	{
		if (Subsystem)
		{
			FOnlineSessionSteamPtr SessionInt = StaticCastSharedPtr<FOnlineSessionSteam>(Subsystem->GetSessionInterface());
			if (SessionInt.IsValid())
			{
				SessionInt->bSteamworksGameServerConnected = true;
				SessionInt->GameServerSteamId = ServerId;
				if (Subsystem->IsUsingSteamNetworking())
				{
					FSocketSubsystemSteam* SocketSubsystem = (FSocketSubsystemSteam*)ISocketSubsystem::Get(STEAM_SUBSYSTEM);
					if (SocketSubsystem)
					{
						SocketSubsystem->FixupSockets(*SessionInt->GameServerSteamId);
					}
				}

				Subsystem->TriggerOnSteamServerLoginCompletedDelegates(true);
			}

		}
		// log on is not finished until OnPolicyResponse() is called
	}

```

that ultimately assigned bTeamworks GameServerConnected a value of True. However, in versions 5.6 and 5.7, bTeamworks GameServerConnected was not assigned a value of True anywhere, resulting in it remaining at a value of False and causing the session to fail forever. I even suspect that EPIC did not test the DS Steam subsystem during the development of versions 5.6 and 5.7

---

<div class="post-metadata">

**Author:** ![pdd2588](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pdd2588](https://forums.unrealengine.com/u/pdd2588)\
**Post date:** [October 31, 2025, 6:08pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/6 "2025-10-31T18:08:25Z")

</div>

Unfortunately, this issue was not resolved in the 5.7 preview version. This bug was brought from 5.6 to the 5.7 preview version and is only applicable to dedicated servers

---

<div class="post-metadata">

**Author:** ![ArticPhantom007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArticPhantom007](https://forums.unrealengine.com/u/ArticPhantom007)\
**Post date:** [November 1, 2025, 4:56pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/7 "2025-11-01T16:56:25Z")

</div>

Where did you add that code?

---

<div class="post-metadata">

**Author:** ![pdd2588](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pdd2588](https://forums.unrealengine.com/u/pdd2588)\
**Post date:** [November 2, 2025, 8:22am UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/8 "2025-11-02T08:22:55Z")

</div>

[Fix Online Steam Game Server Connect](https://github.com/EpicGames/UnrealEngine/pull/13977)

---

<div class="post-metadata">

**Author:** ![pdd2588](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pdd2588](https://forums.unrealengine.com/u/pdd2588)\
**Post date:** [November 2, 2025, 8:27am UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/9 "2025-11-02T08:27:54Z")

</div>

Because I am using GitHub and the network is not smooth, I am unable to clone the entire code repository. Therefore, I only submitted 2 modified files. Although it caused Git to not accurately track the code snippets I modified, it can be used to improve this connection issue. It is best for Epic officials to pay attention to this problem and make timely corrections.

---

<div class="post-metadata">

**Author:** ![ArticPhantom007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArticPhantom007](https://forums.unrealengine.com/u/ArticPhantom007)\
**Post date:** [November 2, 2025, 1:19pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/10 "2025-11-02T13:19:19Z")

</div>

Worked for me! Thank you!

---

<div class="post-metadata">

**Author:** ![rdelian](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rdelian/32/1024350_2.png) [@rdelian](https://forums.unrealengine.com/u/rdelian)\
**Post date:** [November 18, 2025, 6:11pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/11 "2025-11-18T18:11:58Z")

</div>

Hey, do you mind sharing your setup?

I implemented your changes and still can’t get it to work

The GSPolicyResponse is gone and the server is able to get a valid `Session ID` but clients are un-able to join it.

Error:

```auto
LogSteamSocketsAPI: Warning: SteamSockets API: Warning Ignoring P2P signal from 'steamid:76561000130004000', unknown remote connection #708737265

```

> **\[img\] Dedicate Server Problems**
>
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/a/29a6a5ab48c31e587d10108a192c396d367599e0.png)

> **\[text\] DefaultEngine.ini**
>
> ```auto
> [/Script/Engine.GameEngine]
> !NetDriverDefinitions=ClearArray
> +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
> 
> [/Script/OnlineSubsystemSteam.SteamNetDriver]
> NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
> 
> [OnlineSubsystem]
> bHasVoiceEnabled=false
> DefaultPlatformService=Steam
> 
> [OnlineSubsystemSteam]
> bEnabled=true
> bUseSteamNetworking=true
> SteamDevAppId=480
> 
> [/Script/OnlineSubsystemUtils.IpNetDriver]
> MaxNetTickRate=60
> NetServerMaxTickRate=60
> 
> ```

> **\[img\] How I create the session**
>
> - The Dedicate Server map is set from Project Settings → Maps & Gamemodes → Server Default Map
> - In my Game Instance → if isDedicatedServer → Create the session
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/f/a8fac3e0034f4c4913bba9b79e86b8345bd6f542.webp)

> **\[img\] Steam Plugins**
>
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/5/b05889114d489fd3a280b62f5b0615e2bd50cf3e.webp)

Unreal Engine 5.7 Source Build  
Tested on both `Windows` & `Linux` Dedicate Server builds

Everything worked fine in 5.5

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [November 21, 2025, 1:00am UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/12 "2025-11-21T01:00:27Z")

</div>

None of this helped me lol but got my server working on 5.7 so I’m happy.

---

<div class="post-metadata">

**Author:** ![rdelian](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rdelian/32/1024350_2.png) [@rdelian](https://forums.unrealengine.com/u/rdelian)\
**Post date:** [November 22, 2025, 3:19pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/13 "2025-11-22T15:19:28Z")

</div>

Hey, do you mind sharing how?

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [November 24, 2025, 11:39pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/14 "2025-11-24T23:39:13Z")

</div>

Still facing the connection issues which I’m looking into now, will let people know if I find a fix, I am using the old net driver not the socket driver by the way.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [November 27, 2025, 8:30am UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/15 "2025-11-27T08:30:59Z")

</div>

Heres how to config the netdrivers on 5.6+

Update server DLL files

The fix above is correct but its missing one line which tells the engine a client has connected.

SteamSubsystem-\>TriggerOnSteamServerLoginCompletedDelegates(true);

```auto
void FOnlineAsyncTaskManagerSteam::OnSteamServersConnectedGS(SteamServersConnected_t* CallbackData)
{
    FOnlineSessionSteamPtr SessionInt = StaticCastSharedPtr<FOnlineSessionSteam>(SteamSubsystem->GetSessionInterface());
    if (SessionInt.IsValid())
    {
        SessionInt->bSteamworksGameServerConnected = true;
        SessionInt->GameServerSteamId = FUniqueNetIdSteam::Create(SteamGameServer()->GetSteamID());
        SteamSubsystem->TriggerOnSteamServerLoginCompletedDelegates(true);
    }
} 

```

STEAM NET DRIVER \< BROKEN EVEN AFTER THE ABOVE FIX

```auto
[SocketSubsystemSteamIP]
bAllowP2PPacketRelay=True
P2PConnectionTimeout=300
P2PCleanupTimeout = 100

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

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“/Script/SocketSubsystemSteamIP.SteamNetConnection”

```

STEAM SOCKET NET DRIVER \< WORKING WITH ABOVE FIX

```auto
[SocketSubsystemSteamIP]
bAllowP2PPacketRelay=True
P2PConnectionTimeout=300
P2PCleanupTimeout = 100

[/Script/Engine.Engine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“/Script/SteamSockets.SteamSocketsNetDriver”,DriverClassNameFallback=“/Script/SteamSockets.SteamNetSocketsNetDriver”)

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“/Scripts/SteamSockets.SteamSocketsNetConnection”

```

---

<div class="post-metadata">

**Author:** ![Kockerspani3l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kockerspani3l](https://forums.unrealengine.com/u/Kockerspani3l)\
**Post date:** [February 14, 2026, 1:50pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/19 "2026-02-14T13:50:44Z")

</div>

hi, can you confirm where to add this code? as i can’t get my dedicated server to pass the GSPolicyResponse thanks

---

<div class="post-metadata">

**Author:** ![eelDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eeldev/32/1214743_2.png) [@eelDev](https://forums.unrealengine.com/u/eelDev)\
**Post date:** [September 7, 2026, 3:43pm UTC](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/20 "2026-09-07T15:43:23Z")

</div>

If you don’t want to mess with modifying the engine source code, grab the SteamCore PRO plugin, which does not rely on epic steam implementation.
