osu icon indicating copy to clipboard operation
osu copied to clipboard

when data folder becomes accessible, the configs are gone

Open sigasigasiga opened this issue 1 year ago • 6 comments

Type

Game behaviour

Bug description

  1. go to settings, click "change folder location", pick a folder on a removable hard drive
  2. close the game
  3. remove the hard drive
  4. open the game, osu storage error is shown
  5. attach the hard drive
  6. click "try again" on the error screen
  7. BUG: all the configs are gone

Screenshots or videos

Screenshot 2024-06-14 232308

Version

2024.521.2

Logs

compressed-logs.zip

sigasigasiga avatar Jun 14 '24 19:06 sigasigasiga

maybe related to #26027

sigasigasiga avatar Jun 14 '24 19:06 sigasigasiga

What does "all the configs" mean in this context?

bdach avatar Jun 17 '24 06:06 bdach

@bdach

  1. login info
  2. user settings
  3. beatmap settings ("ignore beatmap skin", "background dim", etc)

and maybe something else that i haven't noticed

sigasigasiga avatar Jun 17 '24 08:06 sigasigasiga

I don't think that "Try again" button can ever work in its current state without a game restart. There would need to be some series of callbacks to refresh the various config managers, available rulesets, realm database, etc.

smoogipoo avatar Jun 17 '24 08:06 smoogipoo

Maybe we should force one then?

bdach avatar Jun 17 '24 08:06 bdach

It's a bit unfortunate considering how close it is to working, but I'm fine with forcing one for now, as long as there's an attached comment explaining what is required to make it not require the restart.

peppy avatar Jun 17 '24 13:06 peppy