Join session

Hi,I am working on my multiplayer project but I am stuck at Joining session.Create session works and clients can find session but when client try to join it fail.

Here is my blueprint

Edit: Here is my Log

BlueprintLog: New page: Pre-PIE auto-recompile
LogPlayLevel: [PIE] Compiling Menu before PIE…
LogPlayLevel: PIE: Blueprint regeneration took 209 ms (1 blueprints)
PIE: New page: PIE session: Menu (Jun 13, 2015, 2:57:33 PM)
LogPlayLevel: Creating play world package: /Game/UEDPIE_1_Menu
LogPlayLevel: PIE: StaticDuplicateObject took: (0.004126s)
LogAIModule: Creating AISystem for world Menu
LogPlayLevel: PIE: World Init took: (0.002922s)
LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/Menu.Menu to /Game/UEDPIE_1_Menu.Menu (0.007481s)
LogWorld: Game class is ‘GameMode’
LogActor:Warning: RecastNavMesh /Game/UEDPIE_1_Menu.Menu:PersistentLevel.RecastNavMesh_4 has natively added scene component(s), but none of them were set as the actor’s RootComponent - picking one arbitrarily
LogWorld: Bringing World /Game/UEDPIE_1_Menu.Menu up for play (max tick rate 0) at 2015.06.13-12.57.33
LogActor:Warning: GameSession /Game/UEDPIE_1_Menu.Menu:PersistentLevel.GameSession_7 has natively added scene component(s), but none of them were set as the actor’s RootComponent - picking one arbitrarily
LogActor:Warning: GameNetworkManager /Game/UEDPIE_1_Menu.Menu:PersistentLevel.GameNetworkManager_7 has natively added scene component(s), but none of them were set as the actor’s RootComponent - picking one arbitrarily
LogWorld: Bringing up level for play took: 0.002315
LogInit: WinSock: Socket queue 131072 / 131072
GetHostByName failed (SE_NO_DATA)
LogNet: GameNetDriver IpNetDriver_15 IpNetDriver listening on port 7777
LogScript:Warning: Accessed None ‘CallFunc_GetPlayerController_ReturnValue2’
Menu_C /Game/UEDPIE_1_Menu.Menu:PersistentLevel.Menu_C_0
Function /Game/Menu.Menu_C:ExecuteUbergraph_Menu:00E0
PIE:Error: Error Accessed None ‘CallFunc_GetPlayerController_ReturnValue2’ from node Set bShowMouseCursor in graph ‘EventGraph’ in blueprint Menu
PIE: Info Play in editor start time for /Game/UEDPIE_1_Menu 3.088
PIE: New page: PIE session: Menu (Jun 13, 2015, 2:57:35 PM)
LogInit: XAudio2 using ‘Speakers (High Definition Audio Device)’ : 2 channels at 48 kHz using 16 bits per sample (channel mask 0x3)
LogInit: FAudioDevice initialized.
LogNet: Browse: 127.0.0.1//Game/Menu
LogInit: WinSock: Socket queue 32768 / 32768
GetHostByName failed (SE_NO_DATA)
LogNet: Game client on port 7777, rate 10000
LogNet: GetLocalNetworkVersion: GEngineNetVersion: 2579680, ProjectName: character, ProjectVersion: 1.0.0.0, InternalProtocolVersion: 8, LocalNetworkVersion: 2353460086
PIE: Info Play in editor start time for /Game/Menu 5.5
PIE: New page: PIE session: Menu (Jun 13, 2015, 2:57:37 PM)
LogNet: Browse: 127.0.0.1//Game/Menu
LogInit: WinSock: Socket queue 32768 / 32768
GetHostByName failed (SE_NO_DATA)
LogNet: Game client on port 7777, rate 10000
LogNet: GetLocalNetworkVersion: GEngineNetVersion: 2579680, ProjectName: character, ProjectVersion: 1.0.0.0, InternalProtocolVersion: 8, LocalNetworkVersion: 2353460086
PIE: Info Play in editor start time for /Game/Menu 7.858
LogNet: NotifyAcceptingConnection: Server Menu accept
LogNet: Open Menu 06/13/15 12:57:40 127.0.0.1
LogNet: Added client connection. Remote address = 127.0.0.1:65429
LogNet: NotifyAcceptingChannel Control 0 server World /Game/UEDPIE_1_Menu.Menu: Accepted
LogNet: Remote platform little endian=1
LogNet: This platform little endian=1
LogNet: GetLocalNetworkVersion: GEngineNetVersion: 2579680, ProjectName: character, ProjectVersion: 1.0.0.0, InternalProtocolVersion: 8, LocalNetworkVersion: 2353460086
LogNet: NotifyAcceptingConnection: Server Menu accept
LogNet: Open Menu 06/13/15 12:57:40 127.0.0.1
LogNet: Added client connection. Remote address = 127.0.0.1:65430
LogNet: NotifyAcceptingChannel Control 0 server World /Game/UEDPIE_1_Menu.Menu: Accepted
LogNet: Remote platform little endian=1
LogNet: This platform little endian=1
LogNet: GetLocalNetworkVersion: GEngineNetVersion: 2579680, ProjectName: character, ProjectVersion: 1.0.0.0, InternalProtocolVersion: 8, LocalNetworkVersion: 2353460086
LogVoice:Warning: Failed to initialize voice interface
LogVoice:Warning: Failed to initialize voice interface
LogVoice:Warning: Failed to initialize voice interface
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_dc0_0///####STATCAT_Advanced#### old //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_da8_0///####STATCAT_Advanced####
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_1088_0///####STATCAT_Advanced#### old //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_da8_0///####STATCAT_Advanced####
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_10b8_0///####STATCAT_Advanced#### old //STATGROUP_Threads//OnlineAsyncTaskThreadNull///Thread_da8_0///####STATCAT_Advanced####
LogNet: Login request: /Game/Menu?Name=dra?-PC-E10E3504492FC4E7560242B0CDD1067F userId: dra?-PC-E10E3504492FC4E7560242B0CDD1067F
LogNet: Login request: /Game/Menu?Name=dra?-PC-4A2F85B44006B53A4A24EFA50DAC4379 userId: dra?-PC-4A2F85B44006B53A4A24EFA50DAC4379
LogNet: Welcomed by server (Level: /Game/UEDPIE_1_Menu, Game: /Script/Engine.GameMode)
LogLoad: LoadMap: 127.0.0.1//Game/UEDPIE_1_Menu?game=/Script/Engine.GameMode
LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x000000002AFB2020
Cmd: MEM
LogMemory: Platform Memory Stats for Windows
LogMemory: Process Physical Memory: 779.31 MB used, 779.32 MB peak
LogMemory: Process Virtual Memory: 663.61 MB used, 667.62 MB peak
LogMemory: Physical Memory: 2677.68 MB used, 6143.55 MB total
LogMemory: Virtual Memory: 1237.96 MB used, 8388608.00 MB total
Allocator Stats for TBB: (not implemented)
LogLinker: Can’t find file for asset ‘/Game/UEDPIE_1_Menu’ while loading NULL.
LogWorld: PIE: Copying PIE streaming level from /Game/Menu.Menu to /Game/UEDPIE_2_Menu.Menu. OwningWorld: None
LogAIModule: Creating AISystem for world Menu
LogWorld: Bringing World /Game/UEDPIE_2_Menu.Menu up for play (max tick rate 0) at 2015.06.13-12.57.40
LogWorld: Bringing up level for play took: 0.001262
LogNet: Welcomed by server (Level: /Game/UEDPIE_1_Menu, Game: /Script/Engine.GameMode)
LogLoad: LoadMap: 127.0.0.1//Game/UEDPIE_1_Menu?game=/Script/Engine.GameMode
LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x000000000EC7E3E0
Cmd: MEM
LogMemory: Platform Memory Stats for Windows
LogMemory: Process Physical Memory: 779.31 MB used, 779.32 MB peak
LogMemory: Process Virtual Memory: 663.61 MB used, 667.62 MB peak
LogMemory: Physical Memory: 2677.69 MB used, 6143.55 MB total
LogMemory: Virtual Memory: 1237.96 MB used, 8388608.00 MB total
Allocator Stats for TBB: (not implemented)
LogLinker: Can’t find file for asset ‘/Game/UEDPIE_1_Menu’ while loading NULL.
LogWorld: PIE: Copying PIE streaming level from /Game/Menu.Menu to /Game/UEDPIE_3_Menu.Menu. OwningWorld: None
LogAIModule: Creating AISystem for world Menu
LogWorld: Bringing World /Game/UEDPIE_3_Menu.Menu up for play (max tick rate 0) at 2015.06.13-12.57.40
LogWorld: Bringing up level for play took: 0.001676
LogNet: Client netspeed is 10000
LogNet: Join request: /Game/Menu?Name=dra?SplitscreenCount=1
LogOnline:Warning: NULL: No game present to join for session (Game)
LogOnline:Warning: NULL: Can’t start an online game for session (Game) that hasn’t been created
LogNet: Join succeeded: dra
LogNet: Client netspeed is 10000
LogNet: Join request: /Game/Menu?Name=dra?SplitscreenCount=1
LogOnline:Warning: NULL: No game present to join for session (Game)
LogNet: Join succeeded: dra
LogOnline:Warning: NULL: No game present to join for session (Game)
LogOnline:Warning: NULL: No game present to join for session (Game)
LogOnline:Warning: NULL: No game present to join for session (Game)
LogOnline:Warning: NULL: No game present to join for session (Game)
GetHostByName failed (SE_NO_DATA)
GetHostByName failed (SE_NO_DATA)
LogPackageName: SearchForPackageOnDisk took 0.134s to resolve CharacterBlueprint.umap
LogPackageName: SearchForPackageOnDisk took 0.085s to resolve CharacterBlueprint.umap
LogNet: Browse: /Game/CharacterBlueprint?listen
LogLoad: LoadMap: /Game/CharacterBlueprint?listen
LogNet: World NetDriver shutdown IpNetDriver_16 [GameNetDriver]
LogNet: DestroyNamedNetDriver IpNetDriver_16 [GameNetDriver]
LogNet: UNetConnection::Close: Name: IpConnection_14, Driver: GameNetDriver IpNetDriver_16, PC: PlayerController_25, Owner: PlayerController_25, Channels: 11, RemoteAddr: 127.0.0.1:7777, Time: 2015.06.13-10.57.49
LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: ControlChannel_14
LogExit: GameNetDriver IpNetDriver_16 shut down
LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x0000000029CA5D00
Cmd: MEM
LogMemory: Platform Memory Stats for Windows
LogMemory: Process Physical Memory: 779.33 MB used, 779.82 MB peak
LogMemory: Process Virtual Memory: 663.63 MB used, 667.71 MB peak
LogMemory: Physical Memory: 2677.75 MB used, 6143.55 MB total
LogMemory: Virtual Memory: 1237.96 MB used, 8388608.00 MB total
Allocator Stats for TBB: (not implemented)
LogAIModule: Creating AISystem for world CharacterBlueprint
LogWorld: Game class is ‘Shooter_C’
LogInit: WinSock: Socket queue 131072 / 131072
GetHostByName failed (SE_NO_DATA)
LogNet: GameNetDriver IpNetDriver_18 IpNetDriver listening on port 7778
LogWorld: Bringing World /Game/UEDPIE_2_CharacterBlueprint.CharacterBlueprint up for play (max tick rate 0) at 2015.06.13-12.57.52
LogActor:Warning: GameSession /Game/UEDPIE_2_CharacterBlueprint.CharacterBlueprint:PersistentLevel.GameSession_8 has natively added scene component(s), but none of them were set as the actor’s RootComponent - picking one arbitrarily
LogActor:Warning: GameNetworkManager /Game/UEDPIE_2_CharacterBlueprint.CharacterBlueprint:PersistentLevel.GameNetworkManager_8 has natively added scene component(s), but none of them were set as the actor’s RootComponent - picking one arbitrarily
LogWorld: Bringing up level for play took: 0.025837
LogLongPackageNames:Warning: URL: :7778//Game/CharacterBlueprint: Name may not contain the following characters: :
LogOnline:Warning: NULL: Can’t start an online session (Game) in state InProgress
LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp.
LogNet: UChannel::CleanUp: [GameNetDriver] [PlayerController_23] [PlayerController_23]. ChIndex == 0. Closing connection.
LogNet: UNetConnection::Close: Name: IpConnection_16, Driver: GameNetDriver IpNetDriver_15, PC: PlayerController_23, Owner: PlayerController_23, Channels: 11, RemoteAddr: 127.0.0.1:65429, Time: 2015.06.13-10.57.52
LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: ControlChannel_16
LogCharacterMovement:Warning: GetSimulationTimeStep() - Max iterations 8 hit while remaining time 0.100000 > MaxSimulationTimeStep (0.050) for ‘CharacterPawn_C_3’
LogOnline:Warning: NULL: No game present to leave for session (Game)
LogOnline:Warning: NULL: No game present to leave for session (Game)
LogContentStreaming: Texture: “LightMapTexture2D /Game/UEDPIE_2_CharacterBlueprint.HQ_Lightmap1_1”, ResidentMips: 7/9, RequestedMips: 7, WantedMips: 9, DynamicWantedMips: 7, StreamingStatus: 0, StreamType: Static, Boost: 1.0 (updated)
LogContentStreaming: Texture: “LightMapTexture2D /Game/UEDPIE_2_CharacterBlueprint.HQ_Lightmap1_1”, ResidentMips: 7/9, RequestedMips: 9, WantedMips: 9, DynamicWantedMips: 7, StreamingStatus: 101, StreamType: Static, Boost: 1.0 (updated)
LogContentStreaming: Texture: “LightMapTexture2D /Game/UEDPIE_2_CharacterBlueprint.HQ_Lightmap1_1”, ResidentMips: 7/9, RequestedMips: 9, WantedMips: 9, DynamicWantedMips: 7, StreamingStatus: 2, StreamType: Static, Boost: 1.0 (updated)
LogContentStreaming: Texture: “LightMapTexture2D /Game/UEDPIE_2_CharacterBlueprint.HQ_Lightmap1_1”, ResidentMips: 7/9, RequestedMips: 9, WantedMips: 9, DynamicWantedMips: 7, StreamingStatus: 0, StreamType: Static, Boost: 1.0 (updated)
LogContentStreaming: Texture: “LightMapTexture2D /Game/UEDPIE_2_CharacterBlueprint.HQ_Lightmap1_1”, ResidentMips: 9/9, RequestedMips: 9, WantedMips: 9, DynamicWantedMips: 7, StreamingStatus: 0, StreamType: Static, Boost: 1.0 (updated)
GetHostByName failed (SE_NO_DATA)
LogOnline:Warning: NULL: Invalid session info for session Game in GetResolvedConnectString()
LogBlueprintUserMessages: Client -2: Failed

Anyone? I’m stuck with this.

When you create a session is the level you are opening with extra parameters like “listen” ?

Thanks for helping me :slight_smile:
Yes I did put listen.
I made server browser and session is there client can see it and it shows server name.

Edit:
I am using steam.

Edit 2:
May be it doesn t work because I am doing all the logic in my menu widget.

I haven’t dealt with steam yet, but have you got the SDk needed fr steam?

I had an issue like this today.

Turns out even though I defined the OnlineSubsystem to NULL, because I had steam open, it used that. Try closing steam, if you have it open.

I just set up my DefaultEngine.ini
All dll files are there by default I think.

I will try that :slight_smile:

I tried closing steam but it didn’t help.

I will send the game to my friend and we will try to connect.

Hey man, did you get this to work? I am having the same problem with Joining a LAN session with Steam on

Same here i am having the same problem. I tried 3 differents projects and still get this message in the logs : LogOnline:Warning: NULL: Can’t start an online session (Game) in state InProgress
I am using Steam in France.

Hello. Do you have a spaces or NOT-english symbols in Computer-name? If you have, rename it.

I’m from eastern Europe and also have a problem with Joining Session. Currently I’ve tested 4.19 - 4.20.1 without success. Previously without big problems on 4.17 version. I’v tried any free and paid steam samples without success to join session. LAN and dedicated server working fine. In 4.17 I needed to press button about 7 time to successfully join the session. I’ve tried any passable things to crack steam join session. Renaming user and computer names, tried 3 different internet providers, about 10 different steam sample codes and projects from internet. Changed PC, steam accounts, used unreal source build with updated steam SDK to 1.42. Used all available advanced session scripts. Nothing was helpful in my case. I’m getting following errors in my logs:

UE 4.21 ERRORS

[2018.07.31-07.26.45:852][773]LogNet: ReplicationDriverClass is null! Not using ReplicationDriver.
Warning: Waited 58.027462ms for audio thread.

[2018.07.31-07.26.50:802][402]LogOnline: Warning: Unknown or unsupported data type from Steam key data PhotonRoom eyJuIjoiMF9GbGljZS1SNTkwMDkzNzk2IiwibCI6MCwibSI6MX0=
[2018.07.31-07.26.50:802][402]LogOnline: Warning: STEAM: Failed to parse setting from key PhotonRoom value eyJuIjoiMF9GbGljZS1SNTkwMDkzNzk2IiwibCI6MCwibSI6MX0=
[2018.07.31-07.26.50:802][402]LogOnline: Warning: STEAM: Unable to parse search result for lobby ‘Lobby [0x1860000F86441CA]’
[2018.07.31-07.26.50:803][402]LogOnline: Warning: Unknown or unsupported data type from Steam key data 10000012 11600
[2018.07.31-07.26.50:803][402]LogOnline: Warning: STEAM: Failed to parse setting from key 10000012 value 11600
[2018.07.31-07.26.50:803][402]LogOnline: Warning: Unknown or unsupported data type from Steam key data 10000015 513
[2018.07.31-07.26.50:803][402]LogOnline: Warning: STEAM: Failed to parse setting from key 10000015 value 513
[2018.07.31-07.26.50:804][402]LogOnline: Warning: Unknown or unsupported data type from Steam key data 10000017 0
[2018.07.31-07.26.50:804][402]LogOnline: Warning: STEAM: Failed to parse setting from key 10000017 value 0
[2018.07.31-07.26.50:804][402]LogOnline: Warning: Unknown or unsupported data type from Steam key data 1000003c 14
[2018.07.31-07.26.56:769][763]LogOnline: Warning: STEAM: Removed incompatible build: ServerBuildUniqueId = 0x2ff5c605, GetBuildUniqueId() = 0x00000000
[2018.07.31-07.26.56:769][763]LogOnline: Warning: STEAM: Unable to parse search result for lobby ‘Lobby [0x1860000F864A911]’

UE 4.19 ERRORS

LogAppleARKit: Warning: Failed to bind to the listen port

[2018.07.28-18.55.34:857][302]LogOnline: Warning: Unknown or unsupported data type from Steam key data __gameserverIP 0
[2018.07.28-18.55.34:857][302]LogOnline: Warning: STEAM: Failed to parse setting from key __gameserverIP value 0
[2018.07.28-18.55.34:857][302]LogOnline: Warning: Unknown or unsupported data type from Steam key data __gameserverPort 0
[2018.07.28-18.55.34:857][302]LogOnline: Warning: STEAM: Failed to parse setting from key __gameserverPort value 0
[2018.07.28-18.55.34:857][302]LogOnline: Warning: Unknown or unsupported data type from Steam key data __gameserverSteamID 90116563156164612
[2018.07.28-18.55.34:857][302]LogOnline: Warning: STEAM: Failed to parse setting from key __gameserverSteamID value 90116563156164612

[2018.07.28-18.55.51:424][315]LogNet: Game client on port 7777, rate 10000
[2018.07.28-18.55.53:190][423]LogOnline: Warning: STEAM: Session (GameSession) already exists, can’t join twice
[2018.07.28-18.55.53:190][423]LogBlueprintUserMessages: [CyberWarInstance_C_0] Unable to Join Session

[2018.07.28-18.55.56:615][633]LogVoiceEngine: Warning: Dropping voice data due to network layer not processing fast enough

[2018.07.28-18.56.06:469][235]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 76561198810119141:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 2, Time: 2018.07.28-18.56.06
[2018.07.28-18.56.06:469][235]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 76561198810119141:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2018.07.28-18.56.06:482][235]LogNet: Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.
[2018.07.28-18.56.06:483][235]LogNet: NetworkFailure: PendingConnectionFailure, Error: ‘Your connection to the host has been lost.’
[2018.07.28-18.56.06:483][235]LogGameMode: Display: Match State Changed from LeavingMap to Aborted

[2018.07.28-18.56.06:540][236]LogNet: UNetConnection::PendingConnectionLost. [UNetConnection] RemoteAddr: 76561198810119141:7777, Name: None, Driver: PendingNetDriver None, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID bPendingDestroy=0