You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is happening because in single-player a single song select instance is preloaded at main menu, while online gameplay flows push new screen instances every time.
I guess a similar preload solution could be applied to multiplayer, although I'm not sure if it's going to be smooth sailing.
@bdach for some context on how i originally saw this working: screens like song select would only be instantiated once by the game, ie. we would have the ability to "suspend on exit" and then resume from this state.
If that's not feasible or seen as a good direction, then it will make sense to create a higher level component that manages the realm subscriptions so we don't have to re-query / reconstruct each time song select is loaded.
Off the back of some very old feedback:
https://www.reddit.com/r/osugame/comments/1dga6m5/comment/l8ot8qy/
Maybe resolves some of ppy#21952, too
(definitely not all of it, state is still lost even with this).
Mirrors the setup `MainMenu` does. It's not really possible to just keep
one instance around since `ScreenStack` protests when trying to push an
already-loaded screen.
Type
Game behaviour
Bug description
Issue:
Expect:
Reproduce slow load:
Reproduce unsaved search/collection:
Extra:
I think both issues can be solved in the same fix, hence putting both into a single issue.
Screenshots or videos
Slow load
osu._2022-12-30_18-08-35.mp4
Search filter or selected collection not saved across map selections
osu._2022-12-30_18-09-06_.mp4
Version
2022.1228.0-lazer
Logs
database.log
input.log
legacy-ipc.log
network.log
performance.log
performance-audio.log
performance-draw.log
performance-input.log
performance-update.log
The text was updated successfully, but these errors were encountered: