GKLeaderboard.loadLeaderboards returns empty array

After authenticating the user I'm loading my Game Center leaderboards like this:

let leaderboards = try await GKLeaderboard.loadLeaderboards(IDs: [leaderboardID])

This is working fine, but there are times when this just returns an empty array. When I encounter this situation, the array remains empty for several hours when retrying, but then at some point it suddenly starts working again.

Is this a known issue? Or am I hitting some kind of quota maybe (as I do it quite often while developing my game)?.

Edit: My leaderboards are grouped in sets if that makes any difference here.

Maybe this is related, I'm not sure: I just discovered that while the leaderboard sets are in status "Live", the individual leaderboards inside the sets are "Prepare for Submission". However, everything was live and approved previously. I didn't change a single bit on the leaderboard configuration.

How can this happen?

By the way, the achievements are not affected. Just the leaderboards inside the sets.

GKLeaderboard.loadLeaderboards returns empty array
 
 
Q