Hello!
I've implemented my matchmaking system to the Unreal Engine 5 project. I haven't installed Playfab Online Subsystem to the project because Matchmaking is working as I wanted.
After these steps, I implemented Steam Auth in my project. First, I've tried Advanced Steam Sessions, I can log in with steam with no problem right now but when I try to connect to an active game via Matchmaking, I can't connect to the active server. I see that the server goes to the Active through StandBy.
Then I removed the Advanced Steam Sessions and only added a C++ function to get Steam Auth Ticket to is it related to the plugin but no. Unreal getting confused with when the steam is enabled.
Here is my client log when I try to connect server:
LogPlayFab: Response : {"code":200,"status":"OK","data":{"MatchId":"0673cd94-70b3-4ade-a216-6f3debdcf308","Members":[{"Entity":{"Id":"E735B02A2172A00C","Type":"title_player_account","TypeString":"title_player_account"}},{"Entity":{"Id":"78CB1091CC39237D","Type":"title_player_account","TypeString":"title_player_account"}}],"RegionPreferences":["EastUs"],"ServerDetails":{"IPV4Address":"4.227.216.251","Ports":[{"Name":"gameport","Num":30000,"Protocol":"UDP"}],"Region":"EastUs","Fqdn":"dnscea3f-ebab8246-f18b-424a-bf77-1c0b85e3fbb3.eastus.cloudapp.azure.com"},"ArrangementString":"1:0673cd94-70b3-4ade-a216-6f3debdcf308|846399|title_player_account!E735B02A2172A00C|1675524104|mv1:z6SpmdIbcURLdF5m4ZYv8HvoguF2ec9qOsl4zaQdDmI="}}
LogNet: Browse: 4.227.216.251:30000/Game/DeathTrap/Maps/LV_FrontEnd
LogInit: WinSock: Socket queue. Rx: 32768 (config 32768) Tx: 32768 (config 32768)
LogNet: Created socket for bind address: 0.0.0.0:0
LogNet: IpConnection_2147482418 setting maximum channels to: 32767
PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
LogHandshake: Stateless Handshake: NetDriverDefinition 'GameNetDriver' CachedClientID: 2
LogNet: Game client on port 30000, rate 100000
LogNetVersion: DeathTrap 1.0.0.0, NetCL: 0, EngineNetVer: 30, GameNetVer: 0 (Checksum: 4200628054)
LogHandshake: Cached server SessionID: 0
LogHandshake: SendChallengeResponse. Timestamp: 931.260848, Cookie: 136165059080027029031091079219036044063082161055017010106047
LogNet: UPendingNetGame::SendInitialJoin: Sending hello. [UNetConnection] RemoteAddr: 4.227.216.251:30000, Name: IpConnection_2147482418, Driver: PendingNetDriver IpNetDriver_2147482419, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
LogNet: NMT_CloseReason: (Server Disconnect Reasons) 4.227.216.251:30000
LogNet: - PreLoginFailure
LogNet: NetConnection::Close() [PendingNetDriver] [NoPC] [No Owner] from NMT_Failure incompatible_unique_net_id
LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 4.227.216.251:30000, Name: IpConnection_2147482418, Driver: PendingNetDriver IpNetDriver_2147482419, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: STEAM:Phyrexian [0x110000104DAC14E], Channels: 2, Time: 2023.02.04-15.16.48
LogNet: UNetConnection::SendCloseReason:
LogNet: - Result=FailureReceived, ErrorContext="FailureReceived"
LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 4.227.216.251:30000, Name: IpConnection_2147482418, Driver: PendingNetDriver IpNetDriver_2147482419, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: STEAM:Phyrexian [0x110000104DAC14E]
LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = PendingConnectionFailure, ErrorString = incompatible_unique_net_id, Driver = PendingNetDriver IpNetDriver_2147482419
LogNet: Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: incompatible_unique_net_id
LogNet: NetworkFailure: PendingConnectionFailure, Error: 'incompatible_unique_net_id'
LogNet: DestroyNamedNetDriver IpNetDriver_2147482419 [PendingNetDriver]
LogExit: PendingNetDriver IpNetDriver_2147482419 shut down
LogNet: Browse: /Game/DeathTrap/Maps/LV_FrontEnd?closed
LogNet: Connection failed; returning to Entry
LogLoad: LoadMap: /Game/DeathTrap/Maps/LV_FrontEnd?closed
LogWorld: BeginTearingDown for /Game/DeathTrap/Maps/LV_FrontEnd
LogWorld: UWorld::CleanupWorld for LV_FrontEnd, bSessionEnded=true, bCleanupResources=true
LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
LogStreaming: Display: 0.006 ms for processing 240 objects in RemoveUnreachableObjects(Queued=0, Async=0). Removed 2 (154->152) packages and 8 (370->362) public exports.
LogAudio: Display: Audio Device unregistered from world 'None'.
LogNet: UNetConnection::PendingConnectionLost. [UNetConnection] RemoteAddr: 4.227.216.251:30000, Name: None, Driver: PendingNetDriver None, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: STEAM:Phyrexian [0x110000104DAC14E] bPendingDestroy=0
So I disabled bUseSteamNetworking on DefaultEngine.ini to as not to confuse NetDrivers.
Also, I found this resource: https://steamcore.eeldev.com/docfiles/incompatible_unique_net_id
I've done what exactly it says except I'm not using BaseGameMode. I applied these to my GameMode class but still no luck.
Can you help me with what is going on here?
Thanks!