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
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.
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.
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.