Hello!
As I wrote in the title, I would create an easy matchmaking where a player click the “quick play button” than the Relay search if there is an existing code allocation,
if there is not code allocation:
we proceed with the creation of an allocation and starting the host.
if exist a code allocation:
we get the allocation code, and starting the game as client
The game is a 1vs1 card game
I tried to ask to ChatGPT but it says:
the RelayService class in Unity does not provide a method to retrieve a list of joinable relay codes. The RelayService is primarily used for managing the relay configuration for your project.
If you want to retrieve a list of joinable relay codes, you will need to use a third-party matchmaking or lobby system that provides this functionality
Honestly I don’t wanna create a Lobby to retrieve the code…
I am asking if there is a way where RelayService can gather the list of joinable codes. Thank you!
Just to give a more deep lore of what is my state of work:
Right now my players have to pass the join code
in this way, the first player create the “lobby” (but is the Relay) and the second player insert the code in the input text field and click Join By Code