question

karolkamilorlowski avatar image
karolkamilorlowski asked

How to run the game without access to PrefabManager - No internet Connection

Hello,

I'm wondering how to change script with prefabmanager interface in case device with game will not have acess to the internet. Now game is hanging with these errors:

Error while Logon/Create Account

/Client/LoginWithCustomID: Cannot resolve destination host

Details are in code.txt

code.txt

Thank You!

code.txt (1.7 KiB)
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

·
Gosen Gao avatar image
Gosen Gao answered

Do you mean you want to access PlayFab service without internet connection? To be clear, PlayFab is a network service based on RESTful API, so internet connection is a necessary condition to use PlayFab service. The way to fix this error is to restore the internet connection.

2 comments
10 |1200

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

karolkamilorlowski avatar image karolkamilorlowski commented ·

Hi,

I'm trying to find the way to run game offline without freeze.

So the plan is to include online and offline options and I'm wondering how change the code for add offline options.

Best Regards

0 Likes 0 ·
Gosen Gao avatar image Gosen Gao karolkamilorlowski commented ·

If you want to run your game offline, then you need to remove all network related logic and only run the local logic.

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.