NAT Traversal (v1.65)

0
(0)

Adds NAT punch-through and automatic port forwarding to UNet.

Simple drop in setup for UNET. You only need three methods: StartHostAll(), ListMatches(), and StartClientAll() to connect. Your other UNET code remains unchanged.

Minimize latency by connecting players directly whenever possible, even behind routers. Optionally falls back to Unity’s relay servers only if NAT traversal fails, so players can always connect.

Direct connect whenever possible

Why waste your hard earned money using bandwidth on the relay servers if you don’t have to? A direct connection means less lag and less dependence on infrastructure that you don’t control.

Seamless connection replacing

Your players will always use the best connection possible, seamlessly switching from relay to direct connections as they become available.

Connect Faster

Gets your players in the game faster by not waiting for a UNET match to be created or joined before connecting.

Host Migration

Fully supports UNet’s built in Host Migration. No more dropped games, even if the host leaves.

Lobby

Includes a lobby script that exactly emulates UNET’s NetworkLobby.

Example scenes

Example scenes are included that demonstrate using NAT Traversal with lobbies, host migration, and our Match Up plugin.

Original_Link: https://assetstore.unity.com/packages/tools/network/nat-traversal-58948

Download Links:

Asset Version (v1.65)

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a Reply