question

CapPlay avatar image
CapPlay asked

ServiceUnavailable:Cannot resolve destination host

Use Unity build MacOS App. The app can't call playfab API after codesign the app. It always return error "ServiceUnavailable:Cannot resolve destination host".

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Generally, this error message states a network connection issue. Which Unity version you are using? I would suggest using network monitoring tool to investigate this kind of issue. Please re-check if there is an application permission issue.

There is a similar issue on Unity reported on their forum: https://forum.unity.com/threads/osx-mac-store-app-networking-fails-after-codesign-package.403780/

Additionally, may I ask which API are you using, we can check it for you.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

CapPlay avatar image CapPlay commented ·

Thanks very much. The cause of the issue is the permission for network.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.