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

Game stuck in main menu screen after opening from editor link #29975

Closed
Hydria opened this issue Sep 23, 2024 · 4 comments
Closed

Game stuck in main menu screen after opening from editor link #29975

Hydria opened this issue Sep 23, 2024 · 4 comments
Assignees
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:reliability

Comments

@Hydria
Copy link
Contributor

Hydria commented Sep 23, 2024

Type

Game behaviour

Bug description

clicked osu://edit/00:18:277 (18277|0,18277|1,18384|2,18384|1) which ended up opening lazer, and after reaching the main menu, I noticed the osu circle wasn't coloured in, the top bar was missing, and clicking the cookie resulted in no behaviour. The shortcut commands still worked, though the music could not be paused either.

1727109241.runtime.log should have the corresponding error related to this issue.

Opening the game a second time this way did not have the same issue, so this appears to be a one-off issue.

Screenshots or videos

lazerstuckinmenu.mp4

Version

2024.906.2-lazer

Logs

compressed-logs.zip

@bdach
Copy link
Collaborator

bdach commented Sep 24, 2024

I guess there's this:

2024-09-23 16:34:05 [error]: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
2024-09-23 16:34:05 [error]: at System.Collections.Generic.List`1.Enumerator.MoveNext()
2024-09-23 16:34:05 [error]: at osu.Framework.IO.Stores.FontStore.Get(String fontName, Char character)
2024-09-23 16:34:05 [error]: at osu.Framework.Graphics.Sprites.SpriteIcon.updateTexture()
2024-09-23 16:34:05 [error]: at osu.Framework.Graphics.Sprites.SpriteIcon.load(FontStore store, ShaderManager shaders)
2024-09-23 16:34:05 [error]: at osu.Framework.Graphics.Sprites.SpriteIcon.<>c.<RegisterForDependencyActivation>b__27_0(Object t, IReadOnlyDependencyContainer d)
2024-09-23 16:34:05 [error]: at osu.Framework.Allocation.DependencyActivator.<Activate>g__activateRecursively|8_0[T](Object obj, IReadOnlyDependencyContainer dependencies, Type currentType)
2024-09-23 16:34:05 [error]: at osu.Framework.Allocation.DependencyActivator.Activate[T](T obj, IReadOnlyDependencyContainer dependencies)
2024-09-23 16:34:05 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)

but I wouldn'r expect this to have the effect shown on the video necessarily...?

@ppy-sentryintegration
Copy link

Sentry issue: OSU-10XH

@bdach bdach added osu!framework issue Can't resolve this without changes to osu!framework. type:reliability labels Sep 24, 2024
@peppy peppy self-assigned this Sep 27, 2024
@peppy
Copy link
Member

peppy commented Sep 27, 2024

I've confirmed the above exception cannot happen in our official codebase. This is due to a custom ruleset doing weird font loading.

2024-09-23 16:34:05 [verbose]: Cached font load for Fonts/tauFont

This is happening because a font is being added to the font store post initial game load.

We could guard against this but I'm not sure it's our responsibility to do so. Maybe it is because Game.AddFont can be called at any point (but shouldn't be, in its current form). @ppy/team-client thoughts on fixing this framework side?

@peppy peppy closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
@bdach
Copy link
Collaborator

bdach commented Sep 27, 2024

Maybe it is because Game.AddFont can be called at any point (but shouldn't be, in its current form)

If it can be made safe then sure. Exception to tell people off that they shouldn't be doing that is also fine I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osu!framework issue Can't resolve this without changes to osu!framework. type:reliability
Projects
None yet
Development

No branches or pull requests

3 participants