Download

SteamAPI with UE4 Matchmaking

Hi,

I have a question, so far when I create games using OnlineSubSystem.

With FindSession and JoinSession for the LAN and Steam part (being friends) it has worked.

However, I am using the Steam API for matchmaking.

https://partner.steamgames.com/doc/f…er/matchmaking

The only information I have found so far that I can upload from UE4 to Steam Lobby is the IP and the server port,

After try to use an open IP:Port, i get this error:



[2020.01.05-12.01.33:647][349]LogNet: Game client on port 7777, rate 10000

[2020.01.05-12.01.33:649][350]LogOnline: Warning: STEAM: Entered lobby Lobby[0x1860000020F6006], but not found in sessions list

[2020.01.05-12.01.33:649][350]LogOnline: Warning: STEAM: Received lobby update Lobby[0x1860000020F6006], but not found in sessions list

[2020.01.05-12.01.41:994][748]LogSlate: FSceneViewport::OnFocusLost() reason 0

[2020.01.05-12.01.54:814][852]LogNet: Browse: 4.4.4.4//Game/FinalProjectUE/Maps/PrototypeLevel/MainLevel

**[2020.01.05-12.01.54:815][852]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 4.4.4.4:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 2, Time: 2020.01.05-12.01.54**

[2020.01.05-12.01.54:815][852]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection]
**RemoteAddr: 4.4.4.4:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID**


My question is: What other information do I need to save in the steam lobby to connect to it from a JoinSession()? or is there anyway to create a FOnlineSessionSearchResult or FOnlineSession from server, so ill be able to upload it to the steam lobby.

Since doing the open IP: PORT gives this error.

Regarts!