The CloudScript examples (Unity) all seem to require the user to be logged in. I'm wanting to use CloudScript to generate a unique username ("pilot_<number_of_users>") ahead of creating a new email-based account. Is this possible?
The CloudScript examples (Unity) all seem to require the user to be logged in. I'm wanting to use CloudScript to generate a unique username ("pilot_<number_of_users>") ahead of creating a new email-based account. Is this possible?
No, we can’t call CloudScript from the client-side without being logged in. When clients call API ExecuteCloudScript, PlayFab will verify the clients’ session tickets. Clients should be authorized when they call any client API. Developers should use a custom sever to host such features that generating a unique username ahead of clients register a new email-based account. Or you can try to add this feature in client code.
3 People are following this question.