Help needed error cannot resolve destination host

Hi guy,

I have successfully completed my first game. I use playfab for leaderboards and player data. All works fine in unity and with test builds, until I build for windows store, and subsequently build in visual studio.

The error I get is cannot resolve destination host. On any connection to the playfab service (login register etc)

I have done some Google research and all I can find is it is a network errror or firewall error.

has anyone any experience with this and how did you solve the issue.
Thanks

Paul

1 Like

Hey, did you enable networking capabilities in the manifest? UWP applications aren’t allowed to connect to the internet unless you explicit declare that you’re going to.

Works a treat thank you

Where is the manifest in unity 2012.3?

It’s either in Publishing section of the Player Settings in Unity editor, or, package.appxmanifest file in Visual Studio if you’ve already exported your game from Unity.

1 Like

I had the same problem happening on an Android build for Quest 2 and the reason was because Internet Access permissions were being automatically REMOVED after building. To solve this I had to do the following:

  • Project Settings > OpenXR > Click the gear icon on Meta Quest Support > Uncheck Force Remove Internet Permissions
  • Player Settings > Set Internet Access to Require.

To verify if your Manifest changed. Download Android studio and use the APK analyzer to look at your post build Android Manifest.

2 Likes

The script at the end of this post worked for me - nothing else!
It’s a good solution though.