Xbox Live上的Xbox Live用户登录失败

时间:2017-03-03 19:15:49

标签: xbox-live

我正在测试新的Creator的Program Unity插件,当我在本地计算机上运行SignInAndProfile示例场景时,它会正确地签名。但是,如果我尝试在我的Xbox One上部署它,开发控制台会给我以下错误:

Warning: unknown type TaskYieldInstruction`1[Microsoft.Xbox.Services.SignInResult] detected. Using reflection to gather its type information. Consider to reference it from your scripts so it can gathered during the build process.


(Filename: C:\buildslave\unity\build\Runtime/Scripting/Backend/DotNet/ScriptingTypeProvider_DotNet.cpp Line: 153)


Exception thrown: 'System.Exception' in Assembly-CSharp.dll
Exception: Sign in Failed. Status: UserInteractionRequired
   at XboxLive.<SignInAsync>d__15.MoveNext()
   at UnityEngine.SetupCoroutine.InvokeMoveNext(IEnumerator enumerator, IntPtr returnValueAddress)
   at UnityEngine.SetupCoroutine.$Invoke1InvokeMoveNext(Int64 instance, Int64* args)
   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method) 
(Filename: <Unknown> Line: 0)

我似乎无法找到有关该状态消息的含义的任何信息。

提前致谢。

1 个答案:

答案 0 :(得分:0)

如果您从RequestTokenSilentAsync收到错误,那么您应该再次尝试使用RequestTokenAsync,这将启动任何分辨率UI。 那说我先问一下:你把控制台换成了正确的沙盒吗?我猜这可能是你的问题。