Relay server performance, NAT punch through

I was just wondering if there are plans to improve the relay server performance, or if automatic NAT punch through will be available soon? From my tests measuring the round trip time (Los Angeles, two instances of the game running on the same computer/network, cable modem 60 down / 4 up), these are my results:

The performance is really bad in my game, and I imagine in any real time game this is a bad user experience. For a synchronous, turn-based game, obviously that’s fine. It wouldn’t be a problem if this was a fallback, but this is the only way players can easily connect to each other using Unet, without NAT. I also can’t imagine this is acceptable to Unity either, since any game using this that goes live would represent Unity poorly. Is anyone else experiencing this latency? Thanks!

Relay servers inherently come with a lot of latency. If you want to host all of the servers for your game using UNET I would recommend looking into PlayFab. They allow you to upload your own server build and use their matchmaking API to allow players to connect to games without any worries about port forwarding/firewall issues.

Thanks for the PlayFab recommendation @rbuffalo ! It’s beyond the scope of what I can do before launch, but I’ll keep it in mind for future reference. :slight_smile: