Direct Connection Matchmaking View on Asset Store (opens in new tab)

Package details

Latest version
1.1
Last updated
First released
Unity version
2018.1.3 or later
Package size
859 KB
Files
18
Favorites
49
Views in the past week
2

Price tracking

Last checked
Tracked since
Lowest recorded
$5.00 on

Keywords

Direct Connection Matchmaking

by Luke Pindsle (opens in new tab)

2 ratings, too few to average

Price $5.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Direct Connection Matchmaking, 6 months Current $5.00; lowest $5.00; highest $5.00 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 5

Direct Connection Matchmaking screenshot 1

Direct Connection Matchmaking screenshot 1

About this asset

Direct Connection Matchmaking is designed to allow direct connection matchmaking through the use of UPnP, and a MySQL based matchmaking server.
Advantages:
• Establishes a direct connection if the host's router supports UPnP (The vast majority do).
• Direct connection bypasses Unity's relay servers, which saves you money and reduces latency.
• Only a MySQL server is needed to facilitate matchmaking, which is cheap / free compared to other server / database types.
• If the host's router doesn't support UPnP, the Unity relay service will be automatically used.
• MySQL database PHP code is secure and protected against SQL injection. MD5 hashing is used for transmitted data. Passwords for servers are never sent or stored in plain text.
• Documented API and instruction manual.
• Tested on Windows standalone and Android builds. It should work on other build platforms except WebGL.
How it works:
1. The host searches for a connected UPnP compatible device (router) when starting a match.
2. If found, a suitable port is determined and opened using UPnP.
3. The data needed for clients to join the match is sent to the MySQL server and listed.
4. Clients query the MySQL server for a suitable match and join through direct connection.
5. If a UPnP compatible device is not found, then a match will be created using Unity’s relay servers.
6. Both types of matches can be joined.
What is needed:
• A server running MySQL, and with PHP access.

From the publisher's Asset Store listing.