I am using Relay with NGO and Relay Unity Transport.
I can’t connect there is no error except: Failed to connect to server. That only appears sometimes.
- I have tried using UDP and am getting the same result as DTLS.
- Transport v2.1.0
- Relay v1.0.5
- NGO v1.6.0
- Starting host inputting the Join code are buttons in the scene
The one time I did get it working was when a friend joined from another place.
I am testing it in my house hold. Code for script: using TMPro;using Unity.Netcode;using Unity.Netcode.Transports.UTP;using U - Pastebin.com
Any help would be greatly appreciated. I really want to work with relay and NGO.
You mention that the only time you got it working is when a friend joined from a different place. Does that mean that otherwise you’ve been testing this locally on the same device? If that’s the case, that might explain the issue. My understanding (and I’m not a Relay developer so take that with a grain of salt) is that Relay doesn’t allow multiple connections from a single account/device. I believe you can avoid this limitation by using different profiles for each connection. Our Boss Room sample uses this mechanism for instance. You can explore how they manage this here.
I have been connecting from the same internet not the same computer. My friend lives somewhere different.