我正在測試新的Creator的Unity Unity插件,並且在本地計算機上運行SignInAndProfile示例場景時,它正確地標記了我。但是,如果我嘗試將它部署在我的Xbox一,發展控制檯給了我以下錯誤:Xbox Live用戶登錄失敗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)
我似乎無法找到有關該狀態信息意味着什麼什麼。
在此先感謝。
看起來你的網絡令牌無效。你錯過了一些認證。 – ApolloSoftware
但是它如何在我的Windows 10設備上運行,但不是Xbox One? –
你可以嘗試硬編碼一些默認的用戶參數到代碼中嗎?使用您的憑證申請一個令牌。 – ApolloSoftware