Hello everyone,
Sorry for my bad english btw ^^
I’m developping a multiplayer game, with advanced steam session plugin.
i’ve done everything like docs said, but i have an error when someone on another network want to join my session
i can create it, he can find it, but when he try to join, he go back to the main menu (default map). This is my log error :
[2025.01.24-08.22.33:189][154]LogNet: Verbose: SteamSockets: Looking for a binding address that matches protocol SteamSocketsP2P
[2025.01.24-08.22.33:189][154]LogNet: Verbose: SteamSockets: Looking at binding address [::]:0
[2025.01.24-08.22.33:189][154]LogNet: Error: SteamSockets: Could not determine the binding address!
[2025.01.24-08.22.33:189][154]LogNet: Warning: SteamSockets: InitConnect failed while setting up base information
[2025.01.24-08.22.33:189][154]LogNet: Warning: error initializing the network stack
[2025.01.24-08.22.33:189][154]LogNet: DestroyNamedNetDriver SteamSocketsNetDriver_2147482446 [PendingNetDriver]
[2025.01.24-08.22.33:189][154]LogSockets: Warning: SteamSockets: Cannot get information on an invalid socket handle, returning null
[2025.01.24-08.22.33:189][154]LogGlobalStatus: Warning: UEngine::BroadcastTravelFailure Travel failed, type: ETravelFailure::PendingNetGameCreateFailure, reason: "Error initializing network layer."
[2025.01.24-08.22.33:189][154]LogNet: Warning: Travel Failure: [PendingNetGameCreateFailure]: Error initializing network layer.
[2025.01.24-08.22.33:189][154]LogNet: TravelFailure: PendingNetGameCreateFailure, Reason for Failure: 'Error initializing network layer.'
[2025.01.24-08.22.33:189][154]LogGlobalStatus: Warning: UEngine::BroadcastTravelFailure Travel failed, type: ETravelFailure::ClientTravelFailure, reason: ""
[2025.01.24-08.22.33:189][154]LogNet: Warning: Travel Failure: [ClientTravelFailure]:
[2025.01.24-08.22.33:189][154]LogNet: TravelFailure: ClientTravelFailure, Reason for Failure: ''
[2025.01.24-08.22.33:194][155]LogGlobalStatus: UEngine::Browse Started Browse: "/Game/PROJECT/Level/StartMenu?closed"
[2025.01.24-08.22.33:194][155]LogNet: Browse: /Game/PROJECT/Level/StartMenu?closed
[2025.01.24-08.22.33:194][155]LogNet: Connection failed; returning to Entry
there is my DefaultEngine.ini :
[OnlineSubsystem]
DefaultPlatformService="Steam"
bHasVoiceEnabled=true
bAllowP2PPacketRelay=true
bUseSteamNetworking=true
bUseBuildIdOverride=true
BuildIdOverride=241297
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
bUseSteamNetworking=true
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=180
bUseLobbiesIfAvailable=false
bInitServerOnClient=true
bUsesPresence=true
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
bUseIpv6Sockets=false
BindAddress=0.0.0.0
Port=7777
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="/Script/SteamSockets.SteamNetSocketsNetDriver")
[Core.Log]
LogOnline=All
LogOnlineGame=All
logNet=All
btw, i tried to force to use IPv4 adress for binding, but i can’t, he always trying on IPv6 even with modification in my Project.build.cs, DefaultEngine.ini and BaseEngine.ini (bUseIpv6Sockets=false)
i’ve looked all the internet, but nobody talk about this problem i hope you have a solution, i’m using ue5.5.1
Thanks