Hello dear humans and others,
new PlayFab user here, so I apologize in advance if I was just to stupid to find the solution :P
I have the following problem:
Upon starting the game I'm currently working on the player can choose between
-LoginWithEmailAddress (obviously just working if the player is already registered)
All three options work perfectly fine. If the player chooses to LoginWithCustomID I want them to be able to later add an email address. I understand that "RegisterPlayFabUser" would now just add an additional player for PlayFab - so my option of choice is AddUserNamePassword with the player giving username, email and password as input just like if they would've registered in the first place.
However now Unity give me these errors:
/Client/AddUsernamePassword: Invalid input parameters
Email: The Email address field is required.
Email: Email address is not valid.
Password: The Password field is required.
Password: Password must be between 6 and 100 characters.
Both inputs were given and the email address is just as valid as the password has between 6 and 100 characters...
In the official Youtube tutorial given by the "Azure Playfab" channel (Playfab Authentication Series - Part 2) the script shown about 19 minutes in states that these errors are normal and okay if the player was previously logged in (in my case with CustomID) but I just can't wrap my head around how they are okay - especially since there is no email address nor username or password linked to the player shown in my PlayFab Game Manager after doing this.
I hope my problem explanation is clear enough and that somebody is able to help me. I spent 5 hours trying to fix this today and my horrible headache told me to give up for now :D
I appreciate anybody trying to help! If you have further questions I'll gladly provide additional info :)
Have a nice day kind reader!
Julez / RikuNaceLand