1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

UWP Having difficulty getting Xbox achievements to pop.

Discussion in 'Programming' started by ViridianGames, Jul 9, 2019.

  1. ViridianGames

    ViridianGames Member

    Joined:
    Jun 4, 2019
    Posts:
    5
    There's a lot to the setup of Xbox Live functionality, but as far as I can tell, I've done everything I need to. I have created the achievements for the game (they even show up in the guide while I'm playing). I have followed everything on the "Adding Xbox Live Support" page. I have properly set the Title ID and Service Configuration ID in the UWP Settings in my project.

    But the behavior I'm getting is very odd. For starters, the game won't even start if no one is logged in - it should start then bring up the account picker screen, but it doesn't do that. And during gameplay, no account information can be gathered. The xboxlive_user_is_signed_in() function ALWAYS returns false, even though the game won't run without someone signed in. The xboxlive_gamertag_for_user() function always returns an empty string, even though, again, the game won't run without someone signed in. If I sign out during the game, it instantly shuts down.

    Has anyone seen this behavior before? Does anyone have any suggestions?

    Thanks in advance.
     
  2. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,617
    If you are using the UWP Export then you are part of the Creators Program which doesn’t support Achievements.

    If you want more Live features such as Achievements and Online Multiplayer etc then you need to apply to and be accepted onto the ID@Xbox Program, but this then requires the $799 12mth Xbox Console Licence and not the UWP Licence.

    If you scroll halfway down this page:
    https://www.xbox.com/en-GB/developers/creators-program

    You’ll see a box saying if you want Achievements and Online Multiplayer to apply to ID@Xbox with a link for further details on the ID@Xbox Program which can be found here:
    https://www.xbox.com/en-US/developers/id
     
  3. ViridianGames

    ViridianGames Member

    Joined:
    Jun 4, 2019
    Posts:
    5
    Thank you very much for your help. I wasn't aware that the base UWP export only supported Creators Program (even though it mentions it on the license page) and I wasn't aware that Creators Program didn't allow achievements. I guess this is why there's a "real" Xbox export as well. I'll get the license cleared up and hopefully that will fix everything.

    Thanks again.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice