osu icon indicating copy to clipboard operation
osu copied to clipboard

Exiting a multiplayer game while a map is loading causes a visual glitch

Open baerchen201 opened this issue 2 years ago • 2 comments

Type

Other

Bug description

When you try to leave a multiplayer match, a confirm dialog shows up. This dialog stays open, even when the host starts the game. If you confirm the exit while the map is loading, the screen will get messed up and not show anything. The game recovers upon returning to the main menu.

Screenshots or videos

vlcsnap-2024-09-13-02h40m21s110

https://youtu.be/vUMn_OfmbKM

Version

2024.906.2

Logs

l.zip Relevant logs: runtime, line 206

baerchen201 avatar Sep 13 '24 00:09 baerchen201

Line 206 is the server more or less correctly handling the weird state you managed to enter (although it is debatable whether the error should show). I'm more concerned with line 212:

2024-09-13 00:10:56 [error]: System.NullReferenceException: Object reference not set to an instance of an object.
2024-09-13 00:10:56 [error]: at osu.Game.Screens.OnlinePlay.Lounge.LoungeSubScreen.OnResuming(ScreenTransitionEvent e)
2024-09-13 00:10:56 [error]: at osu.Game.Screens.OnlinePlay.Multiplayer.MultiplayerLoungeSubScreen.OnResuming(ScreenTransitionEvent e)
2024-09-13 00:10:56 [error]: at osu.Game.Screens.OnlinePlay.OnlinePlayScreen.OnResuming(ScreenTransitionEvent e)
2024-09-13 00:10:56 [error]: at osu.Game.Screens.OnlinePlay.Multiplayer.Multiplayer.OnResuming(ScreenTransitionEvent e)
2024-09-13 00:10:56 [error]: at osu.Framework.Screens.ScreenStack.resumeFrom(IScreen source)
2024-09-13 00:10:56 [error]: at osu.Framework.Screens.ScreenStack.exitFrom(IScreen source, Boolean shouldFireExitEvent, Boolean shouldFireResumeEvent, IScreen destination)
2024-09-13 00:10:56 [error]: at osu.Framework.Screens.ScreenStack.Exit(IScreen source)
2024-09-13 00:10:56 [error]: at osu.Framework.Screens.ScreenExtensions.Exit(IScreen screen)
2024-09-13 00:10:56 [error]: at osu.Game.Screens.OnlinePlay.Multiplayer.MultiplayerPlayerLoader.<failAndBail>b__11_0()
2024-09-13 00:10:56 [error]: at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
2024-09-13 00:10:56 [error]: at osu.Framework.Threading.Scheduler.Update()
2024-09-13 00:10:56 [error]: at osu.Framework.Graphics.Drawable.UpdateSubTree()

bdach avatar Sep 13 '24 07:09 bdach

Sentry issue: OSU-Q1C

ppy-sentryintegration avatar Sep 13 '24 07:09 ppy-sentryintegration