Able to connect to room from Unity Editor but get this error when building to the Quest 3
2024/04/10 19:16:36.282 9024 9045 Error Unity Realtime (native): BidirectionalClient: Connection Error: Unable to connect to normcore-matcher.normcore.io on port 3000, error: No address associated with hostname
Any ideas what might be the cause?
5 Replies
Hi @Gregory Osborne. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
The error message you're seeing suggests that your application is unable to establish a connection to the Normcore servers. This could be due to a variety of reasons such as network restrictions, firewall settings, or incorrect configuration.
One common issue that can cause this error is if the necessary DLL files are not present in your build. Make sure that
RealtimeClient.dll
exists in the Plugins folder of your standalone build as mentioned in the Normcore documentation (https://normcore.io/documentation/platforms/common-questions#when-i-try-to-run-my-application-on-another-computer-or-device-i-get-dllnotfoundexception-realtimeclient).
If you're on Windows, you might need to install the Microsoft Visual Studio 2019 redistributables. If you're distributing your app via platforms like Steam, Epic Games Store, or the Oculus Store, they have an option to ensure this file is pre-installed when your app is installed.
If you're on Mac and using a project that was downloaded from a browser, you might need to strip the quarantine attribute that’s added by macOS. Also, when distributing your mac build via a link that can be downloaded using a browser, you’ll need to follow Apple's instructions to notarize your build to prevent this issue.
If none of these solutions work, it would be helpful to check your player logs for more information. If the issue persists, you might want to reach out to Normcore's support for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@345432116600766475> kapa.ai is still learning and improving, please let us know how it did by reacting below
got internet permission?
I added internet permissions into the android manifest and did a new build, but got the same error
DNS lookup is failing here
which is either no internet permissions, the device isn’t connected to wifi, or it doesn’t have valid DNS servers