使用 Game Center id 登录 Playfab 有什么问题?

What is the problem for login Playfab with Game Center id?

在我的游戏中,我正在尝试使用 Game Center 用户 ID 登录 Playfab。

Social.Active.localUser.Authenticate(
        (s)=> 
        {
            GameCenterUserName = Social.localUser.userName;
            GameCenterUsedID = Social.localUser.id;
        });

我使用上面的代码,但它总是 returns GameCenterUsedID = "1000" 和 GameCenterUserName = "Lerpz"。有人可以帮我吗? 谢谢

你需要。 PlayFabClientAPI.LoginWithGameCenter

Socialclass是unity内置的