每次启动我的应用程序时都会弹出 GooglePlayGames 加载徽标
GooglePlayGames loading logo pops up everytime I start my app
所以我想在我的 Unity3D 游戏中实施 GooglePlayGames 服务,但每次我从我的 android 设备打开我的游戏时,它都会弹出 google 玩游戏加载徽标,并且每次都会发生这种情况。我也打不开排行榜和成就UI。我已经在开发人员控制台和我的项目中设置了所有内容。我已将我的电子邮件添加为测试人员。这是我的代码:
这是我的相机附带的脚本
using UnityEngine;
using System.Collections;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
public class GooglePlayGamesScript : MonoBehaviour {
// Use this for initialization
void Awake () {
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
}
// Update is called once per frame
void Start () {
if(!Social.localUser.authenticated){
Social.localUser.Authenticate((bool success) => {
Debug.Log("Authenticating");
});
}
}
}
这里我尝试报告分数:
Social.ReportScore(AddPoints.HighScore,"770479155009",
(bool success) => {
Debug.Log("reporting score");
});
如果有人知道是什么原因造成的,请告诉我。
另外我要提一下我的游戏还没有发布。
发生这种情况是因为您的用户从未通过身份验证。可能由于某些原因而发生。这是我自己之前遇到的一对夫妇。
尝试在未发布的应用程序中 运行 GPG。这是我几次出现问题的原因。在 Alpha 通道中上传构建,并确保您使用的 ID 是已批准测试人员列表的一部分。另外,别忘了在 GPG 中发布游戏。
如果您运行正在关闭任何干扰 Play 服务的应用,请停止它们。给我带来很多悲伤的是自由。通常,停止任何可能使用 SU
的东西
所以我想在我的 Unity3D 游戏中实施 GooglePlayGames 服务,但每次我从我的 android 设备打开我的游戏时,它都会弹出 google 玩游戏加载徽标,并且每次都会发生这种情况。我也打不开排行榜和成就UI。我已经在开发人员控制台和我的项目中设置了所有内容。我已将我的电子邮件添加为测试人员。这是我的代码:
这是我的相机附带的脚本
using UnityEngine;
using System.Collections;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
public class GooglePlayGamesScript : MonoBehaviour {
// Use this for initialization
void Awake () {
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
}
// Update is called once per frame
void Start () {
if(!Social.localUser.authenticated){
Social.localUser.Authenticate((bool success) => {
Debug.Log("Authenticating");
});
}
}
}
这里我尝试报告分数:
Social.ReportScore(AddPoints.HighScore,"770479155009",
(bool success) => {
Debug.Log("reporting score");
});
如果有人知道是什么原因造成的,请告诉我。 另外我要提一下我的游戏还没有发布。
发生这种情况是因为您的用户从未通过身份验证。可能由于某些原因而发生。这是我自己之前遇到的一对夫妇。
尝试在未发布的应用程序中 运行 GPG。这是我几次出现问题的原因。在 Alpha 通道中上传构建,并确保您使用的 ID 是已批准测试人员列表的一部分。另外,别忘了在 GPG 中发布游戏。
如果您运行正在关闭任何干扰 Play 服务的应用,请停止它们。给我带来很多悲伤的是自由。通常,停止任何可能使用 SU
的东西