Hey!
I have a problem with getting email verification status, I made a script that should works cause in my opinion all is as should be but i'm getting error, please take a look on my code and tell me what's wrong there?
public void GetPlayerProfiles(string playFabId) { var request = new GetPlayerProfileRequest { PlayFabId = playFabId, ProfileConstraints = new PlayerProfileViewConstraints() { ShowContactEmailAddresses = true, } }; PlayFabClientAPI.GetPlayerProfile(request, OnPlayerProfileGet, errorPlayerProfiel); } public void errorPlayerProfiel(PlayFabError error) { Debug.Log("error profile"); } public void OnPlayerProfileGet(GetPlayerProfileResult result) { statusVerification = result.PlayerProfile.ContactEmailAddresses[0].VerificationStatus.ToString(); } public void loginClicked() { var request = new LoginWithPlayFabRequest { Password = loginPassword.text, Username = loginID.text, InfoRequestParameters = new GetPlayerCombinedInfoRequestParams { GetUserAccountInfo = true, }, TitleId = "FC293", }; PlayFabClientAPI.LoginWithPlayFab(request, OnLoginSuccess, OnError); } public void OnLoginSuccess(LoginResult result) { playfabIDstring = result.PlayFabId; Debug.Log("success"); GetPlayerProfiles(playfabIDstring); }