ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.32k stars 2.28k forks source link

System.InvalidCastException: Unable to cast object of type 'osu.Game.Rulesets.Taiko.Beatmaps.TaikoBeatmap' to type 'osu.Game.R... #25663

Closed ppy-sentryintegration[bot] closed 10 months ago

ppy-sentryintegration[bot] commented 11 months ago

Sentry Issue: OSU-TRW

System.InvalidCastException: Unable to cast object of type 'osu.Game.Rulesets.Taiko.Beatmaps.TaikoBeatmap' to type 'osu.Game.Rulesets.Osu.Beatmaps.OsuBeatmap'.
  ?, in OsuBeatmap OsuAutoGenerator.get_Beatmap()
  ?, in new OsuAutoGenerator(IBeatmap beatmap, IReadOnlyList<Mod> mods)
  ?, in ModReplayData OsuModAutoplay.CreateReplayData(IBeatmap beatmap, IReadOnlyList<Mod> mods)
  ?, in Score ModExtensions.CreateScoreFromReplayData(ICreateReplayData mod, IBeatmap beatmap, IReadOnlyList<Mod> mods)
  ?, in Score <>c__DisplayClass36_0.<PresentGameplay>b__1(?)+(IBeatmap beatmap, IReadOnlyList<Mod> mods) => { }
...
(16 additional frame(s) were not displayed)

An unhandled error has occurred.
bdach commented 11 months ago

Reproduction: open skin editor at main menu when a track for a mapset is playing that cannot be converted to the current ruleset (example: open skin editor with mania set track playing and osu! ruleset active)

bdach commented 11 months ago

Can still replicate this.