Hi, I have been following several examples to connect to Photon, and I'm stuck here. I am able to generate my LogInWithCustomerId, and I am using Photon Realtime with a PlayFab generated GameID. I do have PUN+ with 100 CCU activated in my Unity Scene. Here is the error I am getting:
Custom Authentication failed (either due to user-input or configuration or AuthParameter string format). Calling: OnCustomAuthenticationFailed()
Operation failed: OperationResponse 230: ReturnCode: 32755 (Failed to parse token from request). Parameters: {} Server: NameServer
UnityEngine.Debug:LogError(Object)
Does anything look wrong here, that would cause this error? Please excuse C# learning curve.
private string playfabId = string.Empty; private string LoginResult = string.Empty; // callback on successful LoginToPlayFab request void OnLoginSuccess(LoginResult result) { // StartCoroutine(GetUserStats()); this.playfabId = result.PlayFabId; GetPhotonAuthenticationTokenRequest request = new GetPhotonAuthenticationTokenRequest(); //request.PhotonApplicationId = photonComponent.AppId.Trim();//errors out request.PhotonApplicationId = PhotonAppId.Trim(); // get an authentication ticket to pass on to Photon PlayFabClientAPI.GetPhotonAuthenticationToken(request, OnPhotonAuthenticationSuccess, OnPlayFabError); }
Thanks,
Eric