Hello everyone, with my team we are publishing an educational game for multiple platforms, in the build for ios and android we had no problem with playfab and everything went according to plan. Instead, once we created the build for uwp we immediately noticed that we could not log in in any way. I tried to find out if this problem had already happened to someone but I have not found answers that have been able to help me.
Title ID: DCC53
Logs:
Error while logging
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
PlayfabManager:OnErrorLogin(PlayFabError)
PlayFab.Events.PlayFabResultEvent`1:Invoke(TResult)
PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer)
PlayFab.Internal.<Post>d__12:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
/Client/LoginWithCustomID: Invalid input parameters
CustomId: CustomId value was 104 characters long which is outside of allowed length (between 0 and 100 characters).
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
PlayFab.Events.PlayFabResultEvent`1:Invoke(TResult)
PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer)
PlayFab.Internal.<Post>d__12:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Setting up 3 worker threads for Enlighten.
Thread -> id: 2754 -> priority: 1
Thread -> id: 1fe0 -> priority: 1
Thread -> id: 1d50 -> priority: 1
Answer by SethDu · Apr 14, 2021 at 09:49 AM
The error indicates clearly the invalid parameter in the request:
/Client/LoginWithCustomID: Invalid input parameters CustomId: CustomId value was 104 characters long which is outside of allowed length (between 0 and 100 characters).
Please reduce this custom ID length and try again.
Yes, that is clear. Unfortunatly i did not remember how to setup costum ID length. Now everything works fine!
Thank you.