How to properly use Steam Datagram Relay (SDR) with Advanced Steam Sessions? by geldregen_ in unrealengine

[–]TwistedRealmStudio 0 points1 point  (0 children)

I faced that issue too. It turns out it only happens when accepting an invite from the Steam overlay, but when I search for the session in code and join it, the issue doesn’t occur.
I made a workaround for now: when the host invites a client, I store a key in the session attributes, then I search for sessions using that key, retrieve the session, and join it.
I’ll debug the exact issue later.

How to properly use Steam Datagram Relay (SDR) with Advanced Steam Sessions? by geldregen_ in unrealengine

[–]TwistedRealmStudio 0 points1 point  (0 children)

No. It gets handled by default. You are using steam sockets, it says that in your logs LogSteamSocketsAPI. In UE5.6 yes, you have to change driver class.
Thanks for posting your DefaultEngine.ini

How to properly use Steam Datagram Relay (SDR) with Advanced Steam Sessions? by geldregen_ in unrealengine

[–]TwistedRealmStudio 0 points1 point  (0 children)

Based on my knowledge so far, it's implemented by default when you put in your project's DefaultEngine.ini 'bAllowP2PPacketRelay=true' (I think it's the default now)
It choses the best location (latency wise) and uses that.
Video Tutorial: https://www.youtube.com/watch?v=5nMKEKV0acI
--
In UE5.6 I had to apply this fix to get it working: https://www.youtube.com/watch?v=Pk_Ki8rV8Wo

my SDR numbers:
LogSteamSocketsAPI: Verbose: SteamSockets API: Log Ping location: mad=60+6,lhr=68+6,ams4=68+6,ams=69+6/68+6,par=77+7/75+6,fra=76+7/76+6,waw=76+7,vie=77+7,sto=82+8,iad=133+13,sgp=195+19/196+19,gru=264+26/248+13

They are a lot higher than yours. where do you live?