Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Should Game Center on Mac OS X work?

Discussion in 'Scripting' started by andererandre, May 24, 2013.

  1. andererandre

    andererandre

    Joined:
    Dec 17, 2010
    Posts:
    683
    Hi,

    I'm trying to use Game Center on Mac OS X but it doesn't appear to work at all. For now I'm using the same code I use for iOS, which is pretty much the exact code from the documentation (authentication via Social.Active.localUser.Authenticate).

    When I launch the application I don't even see the login window pop up and no logs in the console say anything even closely related to Game Center. The best thing I found on Google is this question on StackOverflow which describes a different issue but also seems to be unable to get Game Center to work.

    The release notes for 4.1 say "Mac OS X Standalone: added GameCenter support." and those for 4.1.2 say "Social API: Fixed problem loading leaderboard scores in Mac OS X 10.8 GameCenter." so I take it Game Center should actually work?
     
  2. AmitApollo

    AmitApollo

    Joined:
    Aug 22, 2012
    Posts:
    2
    I've tried to find the exact same thing as well. There is almost no documentation if you want to use Social API's except for iOS. I refuse to pay for Prime if the functionality is there. I tried using the same iOS stuff like Social.ReportProgress, and ShowLeaderboardUI to no avail. In apple's developer site, I even added GameCenter entitlements to the sandbox, and created the leaderboards verbatim, as well as using the same calls I would with iOS.

    Someone please help us!
     
  3. andererandre

    andererandre

    Joined:
    Dec 17, 2010
    Posts:
    683
    Looks like nobody knows what's up with this. I guess our best bet is waiting for the next Unity update?
     
  4. iossif

    iossif

    Joined:
    Mar 4, 2011
    Posts:
    332
  5. ___Petr___

    ___Petr___

    Joined:
    Jun 4, 2013
    Posts:
    40
    Last edited: Dec 17, 2013
  6. andreimarks

    andreimarks

    Joined:
    Jul 12, 2012
    Posts:
    2
  7. ___Petr___

    ___Petr___

    Joined:
    Jun 4, 2013
    Posts:
    40
    THank you!
    Does the situation changes?
    Can we use Unity3d Social today for Mac GameCenter?
     
  8. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Yep, works great. Same way as iOS works fine on mac.