ppy / osu

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

Playlist can sometimes disappear in multiplayer playlist rooms #30813

Open smoogipoo opened 5 days ago

smoogipoo commented 5 days ago

Type

Game behaviour

Bug description

When the LoungeSubScreen is suspended, in most cases the listing poll is also suspended. This is important because the listing request receives a more compact model that doesn't contain the playlist.

https://github.com/ppy/osu/blob/23ef8fd909f1cdbfc1662a35d281cd001fb71aad/osu.Game/Screens/OnlinePlay/Lounge/LoungeSubScreen.cs#L393-L401

But it is possible for the request to fire at just the right time so that it succeeds after the room is joined and clears the existing playlist. This can be reproed by adjusting the above code to always poll every second.

There's quite a bit involved here and it's likely going to be fixed as part of further refactors rather than a direct fix, but I'll keep this issue for tracking.

Screenshots or videos

No response

Version

23ef8fd909f1cdbfc1662a35d281cd001fb71aad

Logs

.