We are currently experiencing a significant issue with our Unity project that we require urgent assistance with. The problem is detailed below:
When attempting to SetRelayServerData, we encounter the following error message across all regions:
This lines throws the following exepction:
WWS: Could not resolve host xxxx-xxx-xxx.relay.cloud.unity3d.com for all regions
Unity Version: 2022.3.22f1
Relay Version: 1.1.1
Error happening in editor
- Our previously functional version has become non-functional without any changes being made, directly due to this error.
- This issue occurs consistently across all attempts and regions.
- We have verified our internet connection and network configurations.
- We have reviewed similar issues reported in the Unity community forums and have not found a viable solution.
First: we’re working with text (code, console messages) so please please post them as text! Screenshot contents cannot be quoted, corrected or searched and embedded in a post they are hard to read.
With service issues you should also check the Services Status page whether there are any incidents.
Since you use secure WebSockets (wss) I wonder if perhaps it’s as simple as having disabled WebSockets in the Transport and forgot to re-enable it?
Otherwise I’d try to ping the xxxx.relay.cloud.unity3d.com address to see if it generally cannot resolve the domain. If so this might also be an issue with that machine’s DNS setting or assigned DNS server. Temporarily switching to Google’s (8.8.8.8) could fix the issue. Not sure if you already checked that since “verified … network configuration” could mean a lot of things.
Hey CodeSmile!!
Thanks for your suggestions.
We did switch to UDP without using WebSockets in Editor, and it is working fine. However, since our platform is WebGL-oriented, we need to use wss.
We’ve already reported this issue to Unity. We’ve verified that WebSockets are enabled in the Transport settings. The DNS settings are also correct, and the relay address resolves correctly when pinged. We also tested in the editor, and using WebSockets, it still doesn’t work.
This issue occurred in the functional version without making any changes; it suddenly stopped working, which makes us think it might be a Unity project issue. Additionally, we tried connecting to all regions, but all of them are failing.
Verified by checking the source control commits? Just asking. 
If you reported it but have not made a minimal test case I would still do so. Sometimes this reveals that the issue is actually working fine with a new project, so something in the project could be the cause. First thing I would do is to check if the test case code does anything different, or if there are any Package versions or Project Settings that differ.