ppy / osu

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

when data folder becomes accessible, the configs are gone #28487

Open sigasigasiga opened 5 months ago

sigasigasiga commented 5 months ago

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 commented 5 months ago

maybe related to #26027

bdach commented 4 months ago

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

sigasigasiga commented 4 months ago

@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

smoogipoo commented 4 months ago

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.

bdach commented 4 months ago

Maybe we should force one then?

peppy commented 4 months ago

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.