I want to use it for a random username generator. I might try the looping, but I am scared, that it will result in a lot of lag. But thanks for the reply anyway, I might try looking into it a bit more!
romoboss
4
Posts
1
Followers
1
Following
A member registered Aug 20, 2022 · View creator page →
Creator of
Recent community posts
Hi, may I ask, are there any easy ways to check if a username already exists without trying to upload a new entry with that name. I tried using the following script, but it always returns 1:
Leaderboards.Highscore.GetEntries(LeaderboardSearchQuery.ByUsername("test"), (msg) => {
Debug.LogWarning(msg.Rank);
});
In this example, the "test" user is at the 2nd place, but even if I try it with any other placement, it always returns 1. I checked, and all the captions are correct.