Hello. Tell me where to look what the problem is. I don’t see my sessions in a packed game.
I copy files:
steamclient64.dll tier0_s64.dll vstdlib_s64.dll in folder Engine\Binaries\ThirdParty\Steamworks\Steamv142\Win64
steam_appid.txt in folder RatsSurvive\Binaries\Win64\ contain 480
Configure DefaultEngine.ini
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="/Script/OnlineSubsystemSteam.SteamNetConnection"
Enable Plugins
"Plugins":
{
"Name": "HorizonUIPlugin",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/8b94d073d32443b497d4a9e8b1e210f7"
},
{
"Name": "JSONParser",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/8eda577c5b594d6b990f91b8dec8a014"
},
{
"Name": "SocketClient",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/5d4ddd5493ce4d2295ef9be6c67eff82"
},
{
"Name": "VictoryBPLibrary",
"Enabled": true,
"MarketplaceURL": "http://www.ue4code.com"
},
{
"Name": "WebCommunication",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/3b04f3c4af5445959cee4448846b55a0"
},
{
"Name": "OceanPlugin",
"Enabled": true
},
{
"Name": "VaRestPlugin",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/e47be161e7a24e928560290abd5dcc4f"
},
{
"Name": "OnlineSubsystemIOS",
"Enabled": false,
"SupportedTargetPlatforms":
"IOS",
"TVOS"
]
},
{
"Name": "OnlineSubsystemGooglePlay",
"Enabled": false,
"SupportedTargetPlatforms":
"Android"
]
},
{
"Name": "OnlineSubsystemSteam",
"Enabled": true
},
{
"Name": "AdvancedSessions",
"Enabled": true
},
{
"Name": "AdvancedSteamSessions",
"Enabled": true
}
]
CreateSession Macros In GameInstance
FindSessions in SessionsList widget
Log : Init STEAM it’s OK
LogOnline: Display: STEAM: Loading Steam SDK 1.42
LogOnline: OSS: Creating online subsystem instance for: Steam
LogOnline: STEAM: Steam User is subscribed 1
LogOnline: STEAM: [AppId: 480] Client API initialized 1
LogOnline: STEAM: [AppId: 480] Game Server API initialized 1
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default
Log : Create Session
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: dumping NamedSession:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: SessionName: GameSession
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: HostingPlayerNum: 0
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: SessionState: Pending
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: RegisteredPlayers:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: 0 registered players
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: dumping Session:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: OwningPlayerName: ????????????????
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: OwningPlayerId: Элеонора [0x191D86B0]
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumOpenPrivateConnections: 0
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumOpenPublicConnections: 99
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: SessionInfo: HostIP: INVALID SteamP2P: 76561198273022036:7777 Type: Lobby session SessionId: Lobby[0x18...415E]
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: dumping SessionSettings:
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumPublicConnections: 100
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: NumPrivateConnections: 0
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bIsLanMatch: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bIsDedicated: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bUsesStats: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bShouldAdvertise: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinInProgress: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowInvites: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bUsesPresence: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinViaPresence: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinViaPresenceFriendsOnly: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: BuildUniqueId: 0x00000000
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: Settings:
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: SessionTest=rsaol : OnlineService
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: PlayersCount=1 : OnlineService
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: ServerName=RatsSurvive private server : OnlineService
Log : Find Sessions. My IP or Steam ID not contain. Found 0 lobbies
[2021.03.04-10.50.37:383][514]LogOnlineSession: STEAM: Found 0 lobbies, finalizing the search
[2021.03.04-10.50.37:788][526]LogOnlineSession: Warning: STEAM: Server response IP:31.186.103.206
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response CUSTOMSEARCHINT1_i 1
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response GAMENAME_s EmptyDedicated
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P
[2021.03.04-10.50.37:907][530]LogOnlineSession: Warning: STEAM: Server response IP:104.248.128.106
[2021.03.04-10.50.37:988][532]LogOnlineSession: Warning: STEAM: Server response IP:37.10.126.113
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response ServerName_s BisteccaGames
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response MATCHTIMEOUT_f 120.000000
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P
But. If you create a new empty project and copy the session creation branch to GameInstance, then in the main project I see such a session.