Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting all beatmaps from results screen and then attempting to play back replay causes crash #27168

Open
bdach opened this issue Feb 14, 2024 · 0 comments

Comments

@bdach
Copy link
Collaborator

bdach commented Feb 14, 2024

Type

Crash to desktop

Bug description

Found when looking at #26952 / #27163.

Steps to reproduce:

  1. Play any map to completion
  2. On results screen, open settings overlay and click "Delete all maps"
  3. Attempt to play the replay
  4. Unhandled exception. osu.Game.Scoring.Legacy.LegacyScoreDecoder+BeatmapNotFoundException: Exception of type 'osu.Game.Scoring.Legacy.LegacyScoreDecoder+BeatmapNotFoundException' was thrown.
       at osu.Game.Scoring.Legacy.LegacyScoreDecoder.Parse(Stream stream) in /home/dachb/Documents/opensource/osu/osu.Game/Scoring/Legacy/LegacyScoreDecoder.cs:line 67
       at osu.Game.Scoring.LegacyDatabasedScore..ctor(ScoreInfo score, RulesetStore rulesets, BeatmapManager beatmaps, IResourceStore`1 store) in /home/dachb/Documents/opensource/osu/osu.Game/Scoring/LegacyDatabasedScore.cs:line 32
       at osu.Game.Scoring.ScoreImporter.GetScore(ScoreInfo score) in /home/dachb/Documents/opensource/osu/osu.Game/Scoring/ScoreImporter.cs:line 75
       at osu.Game.Scoring.ScoreManager.GetScore(ScoreInfo score) in /home/dachb/Documents/opensource/osu/osu.Game/Scoring/ScoreManager.cs:line 63
       at osu.Game.OsuGame.PresentScore(IScoreInfo score, ScorePresentType presentType) in /home/dachb/Documents/opensource/osu/osu.Game/OsuGame.cs:line 729
       at osu.Game.Screens.Ranking.ReplayDownloadButton.<>c__DisplayClass12_0.<load>b__0() in /home/dachb/Documents/opensource/osu/osu.Game/Screens/Ranking/ReplayDownloadButton.cs:line 70
    

Screenshots or videos

No response

Version

current master

Logs

not required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant