question

MoonHeonYoung avatar image
MoonHeonYoung asked

github samples about leaderboard project error

I downloaded the Playfab sample project from feather hub.

This is a project related to the leaderboard.

I have switched platforms to Android,

I get an error like the screenshot.

I think something is missing on the code. Since I can not code well,

I can not tell the cause. help

regregerger.png (109.8 KiB)
rgrgrgrgrg.png (74.8 KiB)
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.

MoonHeonYoung avatar image MoonHeonYoung commented ·

i think that error is occur because i set up switchplatform pc > android

that's right??

0 Likes 0 ·
zzzz.png (105.4 KiB)

1 Answer

·
JayZuo avatar image
JayZuo answered

This seems to be a bug in Android build, you can change the code like what used in LoginWithCustomID method to solve this issue.

// Success
(LoginResult result) =>
{
    Debug.Log("Login completed.");
    //LoadLeaderboards();
    IsLoggedIn = true;
    onSuccess(result);
},
4 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.

MoonHeonYoung avatar image MoonHeonYoung commented ·

Thank you very much! The error has been resolved.

The arrow on the left has no problem, Every time you press the right arrow,

an error occurs.

Could you help me with this, too?

0 Likes 0 ·
5685685685.png (167.7 KiB)
JayZuo avatar image JayZuo ♦ MoonHeonYoung commented ·

Seems the same issue as your previous question: https://community.playfab.com/questions/27278/sample-project-help.html

0 Likes 0 ·
MoonHeonYoung avatar image MoonHeonYoung JayZuo ♦ commented ·

thanks! i will see it : )

0 Likes 0 ·
Kerem Baydogan avatar image Kerem Baydogan commented ·

This sample is full of bugs and documentation is incomplete. There are several fixes recommended in the forums but no one from PlayFab updated the GitHub repo with that fixes. What are you waiting for PlayFab?

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.