Skip to content

Conversation

@bdach
Copy link
Collaborator

@bdach bdach commented Jul 21, 2025

Should close #34222.

I haven't exactly managed to reproduce the issue myself but I'm relatively confident in the imagined mode of failure here. See

[Cached(typeof(IGameplayLeaderboardProvider))]
private readonly PlaylistsGameplayLeaderboardProvider leaderboardProvider;
protected override UserActivity InitialActivity => new UserActivity.InPlaylistGame(Beatmap.Value.BeatmapInfo, Ruleset.Value);
public PlaylistsPlayer(Room room, PlaylistItem playlistItem)
: base(room, playlistItem, new PlayerConfiguration
{
ShowLeaderboard = true,
})
{
leaderboardProvider = new PlaylistsGameplayLeaderboardProvider(room, playlistItem);
}

LoadComponentAsync(leaderboardProvider, AddInternal);

Also comes with a side of (slightly) reduced number of collection change events fired.

@bdach bdach self-assigned this Jul 21, 2025
@bdach bdach added type/reliability Deals with game crashing or breaking in a serious way. area:playlists labels Jul 21, 2025
@peppy peppy self-requested a review July 21, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:playlists size/S type/reliability Deals with game crashing or breaking in a serious way.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashed when trying to play daily challenge

2 participants