Search Unity

Social.localUser.Authenticate doesn't return result if disable/log out Game Center on iOS

Discussion in 'Multiplayer' started by sotrosh, Jul 15, 2019.

  1. sotrosh

    sotrosh

    Joined:
    Dec 25, 2014
    Posts:
    13
    Hi,

    I've found weird bug maybe someone could help with resolving. When I log out from Game Center (from settings) and run my game, it displays Game Center login view which fine. Once I cancel it and call code below it never returns result. But if I logged in into Game Center, it works fine.
    Code (CSharp):
    1.  Social.localUser.Authenticate((bool success) =>
    2.             {
    3.                 // never returns bool if user not logged in to Game Center
    4.             });
    5.  
    Could you please help with fixing this issue. Thank you in advance.
     
    JesOb likes this.
  2. mdemone

    mdemone

    Joined:
    Jul 1, 2013
    Posts:
    1
    We are having the same issue with only a few of our users. Did you figure out how to solve it or find any workaround?

    Edit: The player updated from IOS version 11.4.1 and that fixed it for them.
     
    Last edited: Jul 29, 2019