question

dotgames2021 avatar image
dotgames2021 asked

Hi sir, I want my players to save their data through facebook so i tried to authenticate unity facebook, unity and playfab. I followed a documentation on playfab website but it throws my an error. Please help me.

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.

Sarah Zhang avatar image Sarah Zhang commented ·

Could you please provide the documents' link, reproduced steps, the main code snippet and the detailed error?

0 Likes 0 ·
dotgames2021 avatar image dotgames2021 Sarah Zhang commented ·

Yes,

https://docs.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/facebook-unity

Keep a note that it works well on pc but after build and play on android it throws an error.

Thank you.

0 Likes 0 ·

1 Answer

·
dotgames2021 avatar image
dotgames2021 answered

add the above lines in the script,

using System;

using System.Collections.Generic;

using System.Collections;

And after opening wait for sometime (for net connection).

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.