I want to use enet and Relay services together, but it’s not working out. When I use Enet Transport, I can’t use the Relay service. Is there any way to use them together?
No, there is no way to use them together. Basically usage of the Unity Relay service requires support for it at the transport level. The only transport that supports it currently is Unity Transport. Technically, other transports could implement that support, but today none of them do.
Is there any particular reason you wish to use the ENet here?
I thought using RUDP would be a better option than using TCP.
There’s no particular reason to favor ENET.
Thanks for your answer.
Unity Relay is using UDP too, unless you specifically choose to use the WebSocket connection type, in which case it’s going to be TCP under the hood. But otherwise it’s UDP with our own reliable system on top.