question

brendan avatar image
brendan asked

PlayFab auth doesn't work in Unity Web Player

igor
started a topic on Fri, 10 April 2015 at 5:22 AM

PlayFab's Unity C# SDK works brilliantly in Unity Editor and Mac OS X standalone, but trying to test this feature in Web Player auth doesn't work here. Dropbox is used as public hosting to store binary unity3d file.

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

·
brendan avatar image
brendan answered

2 Comments
Brendan Vanous said on Fri, 10 April 2015 at 11:11 AM

From our other thread, can you please make sure the configuration has been completed for the project? Here's the relevant info from the SDK readme:

5) Configuring the Plugin

You must configure the SDK with your unique TitleId, as assigned by the PlayFab developer portal. Your TitleId will be a short string that looks something like "8D34" in your Title URL.

Please use 8D34 as a TitleId if you would like to try the various pre-made scenes.

Once the package installed go to PlayFab->GameConfig and type in your TitleId and current CatalogVersion then Click Save.

OR

Somewhere in your game's startup code, add the following:

using PlayFab;

PlayFabSettings.UseDevelopmentEnvironment = false;
PlayFabSettings.TitleId = "your title id here";

OR

Edit directly PlayFabSettings in Playfab->PlayFabSDK->Public


igor said on Sat, 11 April 2015 at 2:02 AM

Startup code resolved this issue. Much thank you for help!

10 |1200

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

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.