gpt4 book ai didi

macos - MacOSX 上的 Unity3d 沙盒游戏中心

转载 作者:行者123 更新时间:2023-12-02 03:47:42 25 4
gpt4 key购买 nike

由于不确定的原因,Game Center 无法识别该游戏。如果应用程序 GameCenter 用户已登录,当您尝试在启动时登录游戏 GameCenter 时,它会显示

This Game is not recognized by Game Center.

如果用户未登录,游戏中出现登录窗口,但无法登录;日志显示:

Failed to authenticate local user The operation could not be completed because the program is not recognized by Game Center.

如果启用沙盒(沙盒 <Game>.entitlements 存在),游戏不会显示任何内容,但会将以下内容写入 Player.log:

Failed to authenticate local user Couldn’t communicate with a helper application.

在所有情况下,如果您在游戏开始后调用身份验证,那么它将写入身份验证执行的日志,但 Unity 社交变量包含:Social.localUser.userName == "Uninitialized" , Social.localUser.id == 0 .并且调用成就/排行榜接口(interface)时显示无内容,日志显示:

Unable to simultaneously satisfy constraints:
(
<NSLayoutConstraint:0xfda3ea0 >H:[GKPanelCloseButton]-(NSSpace(8))-[GKPanelCloseButton] (Names: GKPanelCloseButton:0x3281910 )>
)

Will attempt to recover by breaking constraint <NSLayoutConstraint:0xfda3ea0 H:[GKPanelCloseButton]-(NSSpace(8))-[GKPanelCloseButton] (Names: GKPanelCloseButton:0x3281910 )>

Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.
And/or, break on objc_exception_throw to catch this in the debugger.

如果您转到应用程序 GameCenter,您会看到您已登录游戏,但它是在 iOS 下,并且没有内容 - 没有图标,没有成就。

谷歌保持沉默。需要您的帮助,如何解决这个问题。

谢谢,伊格纳特

最佳答案

来自 Prime[31] 网站的简单信息:

iOS Note: to use the sandbox environment for testing you must first open the Apple GameCenter.app and log out. Once logged out, you must be using a debug build in Xcode to access the sandbox. Release builds will not use the sandbox servers so be sure to use debug builds when testing.

来源:http://prime31.com/docs#iosGameCenter

关于macos - MacOSX 上的 Unity3d 沙盒游戏中心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15903594/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com