This is based on this project: link text
Everything works just fine and dandy with the lobby in an isolated project. But after migrating this project into a different one, the lobby will no longer successfully launch.
I get these errors:
LogNet: Warning: Failed to init net driver ListenURL: /Game/MenuSystem/Maps/Lobby?listen: SteamSockets: binding to port 7777 failed (0)
LogNet: Warning: Network Failure: GameNetDriver[NetDriverListenFailure]: SteamSockets: binding to port 7777 failed
LogNet: NetworkFailure: NetDriverListenFailure, Error: âSteamSockets: binding to port 7777 failed (0)â
LogBlueprintUserMessages: [GameinfoInstance_C_0] even network error on server
LogWorld: Failed to listen: SteamSockets: binding to port 7777 failed (0)
LogNet: Error: LoadMap: failed to Listen(/Game/MenuSystem/Maps/Lobby?listen)
What the heck would cause this? Absolutely nothing was changed or altered about the gameinstance or in any of the player controllers.
1 Like
The only thing I can think of is that since you migrated it into a different project it may have a different configuration (like which onlinesubsystem it is using) and different plugins enabled. Try comparing the plugins and the ini files.
i was missing a line in this somewhere that goes into DefaultEngine. Cant remember which one. But to anyone trying to hook into steam this code below goes in DefaultEngine.ini
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=âGameNetDriverâ,DriverClassName=âOnlineSubsystemSteam.SteamNetDriverâ,DriverClassNameFallback=âOnlineSubsystemUtils.IpNetDriverâ)
[OnlineSubsystem]
PollingIntervalInMs=20
; Uncomment the following line to use the Null Subsystem
;DefaultPlatformService=Null
; Uncomment the following lines to use the Steam Subsystem
DefaultPlatformService=Steam
VoiceNotificationDelta=0.2
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
; This is to prevent subsystem from reading other achievements that may be defined in parent .ini
Achievement_0_Id=""
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=âOnlineSubsystemSteam.SteamNetConnectionâ
1 Like