Context: We are migrating our game from GameSparks to PlayFab, the game already had its own logic, and GameSparks username allowed special characters, but we noticed usernames from playfab are too limiting, so we are using DisplayNames on our AddFriend function, and emails to login each user.
Problems: - Our database should be global for all games our publisher. - If a user has a DisplayName in one game, he should have in all other games, but PlayFab won't allow that. - If a user register in one game we've managed to store its DisplayName on the UserPublisherData, so if he logs in another game it will automatically be fetched. But while a player does not register or logs into another game, another user can register that same displayname and steal that name breaking our entire logic.
Question: Is there a way to guarantee that displayname for every game and keeping them unique?,Context: We are migrating our game from GameSparks to PlayFab, the game already had its own logic, and GameSparks username allowed special characters, but we noticed usernames from playfab are too limiting, so we are using DisplayNames on our AddFriend function, and emails to login each user.
Problems: - Our database should be global for all games our publisher. - If a user has a DisplayName in one game, he should have in all other games, but PlayFab won't allow that. - If a user register in one game we've managed to store its DisplayName on the UserPublisherData, so if he logs in another game it will automatically be fetched. But while a player does not register or logs into another game, another user can register that same displayname and steal that name breaking our entire logic.
Question: Is there a way to guarantee that displayname for every game and keeping them unique?