osudroid / osu-droid

http://osudroid.moe
Apache License 2.0
498 stars 74 forks source link

Beatmaps may duplicate at certain occasions #328

Open Rian8337 opened 3 months ago

Rian8337 commented 3 months ago

This is a bug that has happened to multiple players, yet bizarre as the root cause of the problem is still unknown.

This seems to be a problem at caching operation, as when one of the duplicates is deleted from song selection menu, both beatmaps will be deleted. Additionally, once the player reloads the beatmap cache, the problem is gone, but it can still come back at certain occasions.

Despite being reported multiple times, little is known about this bug. Anyone experiencing the bug or seeing it first-hand can comment more details on this issue.

This is a report that I received from a player. Note that downloading the map from Chimu does not always trigger the problem, otherwise I would have more information to work with. All beatmap cache loading operations navigate towards LibraryManager.updateLibrary().

All of the maps i have are duplicated and now there is 2 of every map. I started having this problem after i tried the new built in map downloader function, Chimu.moe. After i downloaded a map, it caused all of my maps to be duplicated and if i try to delete one of the copies, both will be deleted. image