How to pass parameters to the server when joining a session?

Hello,
I’m working on a multiplayer game and I want to pass a parameter to the server when connecting to it.

I was thinking of passing parameters as described on that page : A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

In order to do that I’d like to get the IP adress of the SearchResult that is returned by the FindSession function.
I can’t find how to get this IP adress.

Thank you for your help.

Hello !

Bumping into this thread because I’m trying to acheive the same, but the solution described on the Wiki cannot be achieved :

  • APlayerController::ClientTravel is not a virtual function, so it cannot be overloaded to add options to the URL
  • APlayerController::PreClientTravel can be overloaded, but the URL argument is const and cannot be modified

So what’s the proper way to do this ?

Thanks