- Home /
How to connect to a match by a string
I am trying to have players invite friends to matches. My plan is to send the match's networkID over to the friend and then when the friend presses "Join" it will get the network id of the other player and join it. But it seems like the NetworkID is a enum and I can only send basic data types to the server and retrieve them. Is there a way to find a match a player is in or join a match from a string? Thanks.
I decided to just name the matches as the name of the user then when a player wants to accept an invite I'll loop through every match and check for the one that has a name equal to the player giving the invite. I also made sure to not advertise the match so no randoms will join a private match.
Your answer
Follow this Question
Related Questions
UNet NetworkServer max connections 4 Answers
NetworkMatch.DropConnection not executing callback 0 Answers
Problem with connecting to AWS EC2 Server ... 0 Answers
MissingMethodException in UNet matchmaking 1 Answer
Unity Network make Server and Connect 0 Answers