Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlist can sometimes disappear in multiplayer playlist rooms #30813

Open
smoogipoo opened this issue Nov 21, 2024 · 0 comments
Open

Playlist can sometimes disappear in multiplayer playlist rooms #30813

smoogipoo opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@smoogipoo
Copy link
Contributor

smoogipoo commented Nov 21, 2024

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.

private void updatePollingRate(bool isCurrentScreen)
{
if (!isCurrentScreen)
ListingPollingComponent.TimeBetweenPolls.Value = 0;
else
ListingPollingComponent.TimeBetweenPolls.Value = isIdle.Value ? 120000 : 15000;
Logger.Log($"Polling adjusted (listing: {ListingPollingComponent.TimeBetweenPolls.Value})");
}

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

23ef8fd

Logs

.

@smoogipoo smoogipoo self-assigned this Nov 21, 2024
@smoogipoo smoogipoo changed the title Playlist can sometimes disappear in playlists multiplayer rooms Playlist can sometimes disappear in multiplayer playlist rooms Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant