I’ve been reading through the documentation, and I’m wondering if there is support (and/or any examples) on how to configure your own custom server to act as a relay, instead of relying on Unity’s Relay service?
Thank you for any help.
I’ve been reading through the documentation, and I’m wondering if there is support (and/or any examples) on how to configure your own custom server to act as a relay, instead of relying on Unity’s Relay service?
Thank you for any help.
The relay solution described in the documentation does not support running the relay on your own server. It has to go through Unity Gaming Services. But Netcode for GameObjects supports plugging in custom transports (here are some community-provided ones). If you find a third-party relay implementation that can run on your own server (or if you write your own), it should be possible to write a custom transport that uses it.
Thank you for the response and the link. I’ll go check those out.
Did you find a solution?
I am looking for an example ( Looking for demo of listen server / host architecture (NAT punchthrough, relay Server) - Unity Engine - Unity Discussions )