question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Beatmap List Exception If No Beatmaps Are Installed

See original GitHub issue

If you run osu!lazer with no beatmaps (other than the theme song), it displays the theme song as the selected beatmap (with none in the menu) and creates an exception if you try to play it.

This is pretty much a known bug, but it might as well be created into an official issue. For clarification as to what exactly happens, if you attempt to play the beatmap, it launches into the loading screen (shown in the second screenshot) and then reverts back to the beatmap list. Here’s the exception message: Could not load this beatmap sucessfully (osu.Game.Rulesets.UI.BeatmapInvalidForRulesetException: Beatmap can't be converted for the current ruleset. at osu.Game.Rulesets.UI.HitRenderer`1..ctor(WorkingBeatmap beatmap, Boolean isForCurrentRuleset) at osu.Game.Rulesets.Osu.OsuRuleset.CreateHitRendererWith(WorkingBeatmap beatmap, Boolean isForCurrentRuleset) at osu.Game.Screens.Play.Player.load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config, OsuGame osu))!

Screenshots: The theme song beatmap Error message

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Shadowtail117commented, Jun 19, 2017

I haven’t delved into the code that much, and I myself am not a professional coder by any means, but I imagine that when it loads the beatmap list an if statement can check how many beatmaps there are, and if there is only one (the theme song) then it will return a message to the player, e.g.:

public void LoadBeatmapList() //Placeholder method for its actual name in the code
{
   if(beatmapList.length == 1)
    {
      /* This would display something like "You currently have no beatmaps installed. To fix this, you can:
      1. Go to the osu! beatmap listing, download a beatmap file, and either double click on it or drag it into 
      this window,
      2. Download a beatmap via osu!direct, or
      3. Make one yourself using the Editor."

      In addition, the visual on the left that would display the selected beatmap's information would all be 
      blank. */
   }
  //Rest of the code...
}

It’d look a bit like this, I imagine: 68747470733a2f2f706538736e712e626e313330322e6c69766566696c6573746f72652e636f6d2f79346d544133396c344f5a33544c6751584576515047395935624c4d5f6f355659726636383043774b384a415273693369365759572d6574707575514

0reactions
peppycommented, Aug 22, 2017

This should be long-resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[resolved] Osu Beatmaps Wont Process · forum - ppy
Whenever I open osu I have no maps and when I press "Play" it brings me to the osu direct area, therefore I...
Read more >
Beatmaps in Songs folder wont be seen in Osu game.
Go into your osu! folder under Program Files (x86)/ , find osu!.db and delete it, then restart osu!. You should see it ...
Read more >
Put an indicator that is still reading the Osu folder or ...
I have 6000+ song folders in my osu library in my ext. HDD and i do not know if the game is still...
Read more >
Find/Install Beatmap Packs | osu! Guide | Simple | Updated
Beatmap packs: https:// osu.ppy.sh/ beatmaps /packs Timestamps: 0:00 - Explanation 0:10 - Beatmap pack explanation (Achievements & More) 1:01 ...
Read more >
OSU! - How To Install Beatmap Packs - YouTube
For more information, check out this guide: https://www.techy.how/ osu-beatmaps / Top 50 most popular osu! beatmaps : ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found