Skip to content

Results Screen sometimes excludes local scores and shows duplicates #33435

Closed
@Stedoss

Description

@Stedoss

Type

Game behaviour

Bug description

When selecting a local leaderboard score from song select, an exception gets thrown and causes a duplicate score to be shown, and some other oddness like not showing all local scores. Note this does not happen with every score I have imported, only a few (seemingly there has to be two local scores with the same username and mods, but not 100% sure on that) - hopefully the video below can show what's going on!

These scores were imported a while ago from stable.

Relevent stack trace:

2025-06-05 09:25:24 [error]: An unhandled error has occurred.
2025-06-05 09:25:24 [error]: System.InvalidOperationException: Sequence contains more than one matching element
2025-06-05 09:25:24 [error]: at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
2025-06-05 09:25:24 [error]: at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
2025-06-05 09:25:24 [error]: at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
2025-06-05 09:25:24 [error]: at osu.Game.Screens.Ranking.ScorePanelList.selectedScoreChanged(ValueChangedEvent`1 score)
2025-06-05 09:25:24 [error]: at osu.Framework.Bindables.Bindable`1.TriggerValueChange(T previousValue, Bindable`1 source, Boolean propagateToBindings, Boolean bypassChecks)
2025-06-05 09:25:24 [error]: at osu.Framework.Bindables.Bindable`1.TriggerChange()
2025-06-05 09:25:24 [error]: at osu.Game.Screens.Ranking.ScorePanelList.displayScore(ScorePanelTrackingContainer trackingContainer)
2025-06-05 09:25:24 [error]: at osu.Game.Screens.Ranking.ScorePanelList.AddScore(ScoreInfo score, Boolean isNewLocalScore)
2025-06-05 09:25:24 [error]: at osu.Game.Screens.Ranking.ResultsScreen.<>c__DisplayClass53_0.<addScores>b__0()
2025-06-05 09:25:24 [error]: at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
2025-06-05 09:25:24 [error]: at osu.Framework.Threading.Scheduler.Update()
2025-06-05 09:25:24 [error]: at osu.Framework.Graphics.Drawable.UpdateSubTree()
2025-06-05 09:25:24 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
2025-06-05 09:25:24 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
2025-06-05 09:25:24 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
...

Screenshots or videos

osu._uxjAHxcuJj.mp4

Version

2025.605.1

Logs

compressed_logs.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions