NAT Traversal

$64
Publisher Noble Whale Studios
File size 4.93MB
Number of files 57
Latest version 1
Latest release date 2019-07-23 12:10:15
First release date 2016-04-01 10:27:24
Supported Unity versions 2018.4.2 or higher
       Docs  |  API  |  FAQ  |  Forum  |  Free Demo

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.

Reduce your use of expensive relay servers by up to 95%, meaning you only spend money as little as 5% of the time! Use Unity's own calculator to see just how much money you'll save.

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.

Professional Support
We have a consistent 5 star record of prompt and effective support. Contact us via email, forums, or Discord any time and we will work with you to resolve any issue.


Runs on Windows, OSX, and Linux.

Includes Playmaker support.

Note: We host a Facilitator that you are welcome to use free of charge. The Facilitator executable is also included so you can host it on your own server instead.

Note: Web and mobile builds are not supported.

This asset uses RakNet under BSD license and OpenNAT under MIT license; see Third-Party Notices.txt file in package for details.

Check Out Our Other Assets
Smooth Sync smooths Rigidbodies and Transforms over the network and further reduces bandwidth.
Match Up provides hassle free matchmaking support for ANY networking system.

Top Publisher Assets