I am trying to create a P2P (listen server) mobile game with asynchronous gameplay.
I managed to find many resources and host/join sessions using LAN context (works both on UE and Builds), but I now would like to manage all those system outside of the LAN context and allow multiplayer through different connexions (i.e. having one player creating a session and another one joining him, even if they are not on the same network -be it different WIFIs, or one on WIFI while the other one uses his mobile datas).
I found a couple of tracks related to OnlineSubsystem, but I am really lost about what should I chose…
Do I need a server provider such as AWS even in a listen server game?
Do I need a specific OnlineSubsystem?
Is it possible to integrate such a system both on Android and iOS? (crossplatform matchmaking would be amazing but clearly not something mandatory on my side atm)
Thanks a lot for your answers And sorry if I missed relevant information somewhere, I am starting to be a bit lost.
If you use something like Steam then Steam will provide the authentication and a web-server for handling server browsing as well as Nat punch-through. It isn’t trivial to setup those things yourself so I would recommend using a service provider already capable of those 3 things.
Not all OnlineSubsystems work on all platforms
Even with a OnlineSubsytem that work on multiple platforms like Epic Online Services (EOS) you probably won’t be able to connect them without a dedicated server. Perhaps someone else know more about this than me.
I just found out about EOS and what they really are, and I am currently trying to set up everything + AdvancedSessions.
The video I am following covers it pretty well for now and talks a lot about listen server matchmaking on multiple platforms, including both Android and iOS, so (it is probably a mistake ) but I am feeling a bit confident about all this.
I will update this post if I manage to make it work and in case someone faces the same questions
Hello Chimera, I feel like you need a third party service to host the servers so that people outside of your network can find them. Would love to hear your progress.
Greetings, Chimera If you want individuals outside of your network to be able to access the servers, I think you’ll need to have a third-party hosting firm handle that for you. I’m curious about your development and would appreciate hearing updates. geometry dash