1
\$\begingroup\$

I'm currently working on adding achievements to an existing game. Achievements are not published yet. When unlocking an achievement, we have system popup that says it gained 0xp. Every achievement have correct xp values assigned in Play Games Console UI.

Is that "0xp" thing happens because of unpublished achievements? Did anyone have this problem?

enter image description here

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Maybe show us the code you use to update the achievement state. \$\endgroup\$
    – Almo
    Jun 15, 2022 at 14:20
  • \$\begingroup\$ There's nothing special about code. It all goes down to calling api unlock method, and it works just fine. As far, as I can see, there's no way to provide xp amount in code. Am I right? \$\endgroup\$
    – nemo91944
    Jun 15, 2022 at 14:54
  • \$\begingroup\$ This call public abstract Task<Boolean> setStepsImmediate (String id,int numSteps) does take steps. \$\endgroup\$
    – Almo
    Jun 15, 2022 at 19:07
  • \$\begingroup\$ Yes, that's right. Progressing and unlocking achievements works ok, no problems here. But my question is not about steps, used for incremental achievements. It's about XP points assigned to an achievement. \$\endgroup\$
    – nemo91944
    Jun 16, 2022 at 8:39
  • \$\begingroup\$ You're kind of making a lot of assumptions about what the reader knows about these things. What is "XP" then in this context? I haven't touched google play achievements in many years, but I do want to help. :) \$\endgroup\$
    – Almo
    Jun 16, 2022 at 14:46

1 Answer 1

1
\$\begingroup\$

This problem was fixed after publishing achievements. Seems like unpublished achievements for a published game have this issue. Unfortunately I couldn't find any mention of this behavior on Google Play Services Guides page.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .