Game Center doesn't work

The log in button and post score button don't work for some odd reason .. I thought I set it up properly. I don't have an apple device that will allow me to test my game center in sandbox .. it only runs iOS 6. I asked some on on the forums how the set up looks and he said it should work.

Comments

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    My friend told me he tried to post he's scores on Game Center and nothing happened. Non of the buttons were working

  • QASaladQASalad Inactive, Chef Emeritus Posts: 142

    Are you using TestFlight to test GameCenter? You need to now. Apple got rid of the sandbox environment as part of the iOS 9 and OS X 10.11 releases.

    https://developer.apple.com/library/ios/technotes/tn2417/_index.html

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited October 2015

    You can put the login behavior outside the touch -rule. that way it will log in automatcally.

    Don't write the leaderboard ID in the expression editor. Type it straight in to the text field.

  • QASaladQASalad Inactive, Chef Emeritus Posts: 142

    @NipaDidIt said:
    You can put the login behavior outside the touch .rule. that way it will log in automatcally.

    Don't write the leaderboard ID in the expression editor. Type it straight in to the text field.

    That too. Though I usually put mine in an attribute to prevent the confusion.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited October 2015

    I see your ID also has a prefix of "grp" meaning it's a group leaderboard. Yet you neglected to add this to the id. Maybe you should look into whether or not you need to add ".grp"

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Though I usually put mine in an attribute to prevent the confusion.

    Nice idea @QASalad!

  • JSprojectJSproject Member Posts: 730
    edited October 2015

    @QASalad said:
    Are you using TestFlight to test GameCenter? You need to now. Apple got rid of the sandbox environment as part of the iOS 9 and OS X 10.11 releases.

    https://developer.apple.com/library/ios/technotes/tn2417/_index.html

    No, you don't need to use TestFlight to test Game Center, you can use an adhoc build just like before (which is much faster than TestFlight) even if you're on iOS 9. You only need TestFlight if you want other people to test your build on their devices.

    Also, if you are on iOS 8 then you can still use the separate sandbox environment for Game Center testing (Apple has not closed down the test servers).

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @NipaDidIt if I do the log in rule in my controller will the log in screen for game center automatically come up and force you to log in?

Sign In or Register to comment.