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

Playable beatmap can no longer be opened in the editor #29492

Closed
Gabixel opened this issue Aug 18, 2024 · 1 comment · Fixed by #29534
Closed

Playable beatmap can no longer be opened in the editor #29492

Gabixel opened this issue Aug 18, 2024 · 1 comment · Fixed by #29534
Assignees

Comments

@Gabixel
Copy link
Contributor

Gabixel commented Aug 18, 2024

Type

Crash to desktop

Bug description

I have a map I created a while ago for testing purposes. It's still playable, and I remember placing some objects and maybe one timing point, but I can't remember for sure. It also contains just random music. No background.

I would have attached it, but the problem is that I can't open the editor at all. See the stack trace at the end of this message.

Screenshots or videos

osu.2024-08-18.15-36-16.-.Trim.mp4

Version

2024.817.0

Logs

From the 1723986870.runtime.log:

2024-08-18 13:16:07 [verbose]: Song select decided to ensurePlayingSelected
2024-08-18 13:16:08 [verbose]: Invalidating working beatmap cache for test - test map (Gabixel) [New Difficulty]
2024-08-18 13:16:08 [verbose]: Game-wide working beatmap updated to test - test map (Gabixel) [New Difficulty]
2024-08-18 13:16:08 [verbose]: Song select working beatmap updated to test - test map (Gabixel) [New Difficulty]
2024-08-18 13:16:08 [verbose]: 📺 OsuScreenStack#819(depth:4) suspended PlaySongSelect#624 (waiting on EditorLoader#462)
2024-08-18 13:16:08 [verbose]: 📺 OsuScreenStack#819(depth:5) loading EditorLoader#462
2024-08-18 13:16:08 [verbose]: 📺 OsuScreenStack#819(depth:5) entered EditorLoader#462
2024-08-18 13:16:08 [verbose]: 📺 BackgroundScreenStack#540(depth:3) loading BackgroundScreenBeatmap#574
2024-08-18 13:16:08 [verbose]: 📺 OsuScreenStack#819(depth:5) suspended EditorLoader#462 (waiting on Editor#523)
2024-08-18 13:16:08 [verbose]: 📺 OsuScreenStack#819(depth:6) loading Editor#523
2024-08-18 13:16:08 [verbose]: 📺 BackgroundScreenStack#540(depth:3) suspended BackgroundScreenBeatmap#509 (waiting on BackgroundScreenBeatmap#574)
2024-08-18 13:16:08 [verbose]: 📺 BackgroundScreenStack#540(depth:3) entered BackgroundScreenBeatmap#574
2024-08-18 13:16:08 [error]: An unhandled error has occurred.
2024-08-18 13:16:08 [error]: System.InvalidOperationException: Sequence contains no elements
2024-08-18 13:16:08 [error]: at System.Linq.ThrowHelper.ThrowNoElementsException()
2024-08-18 13:16:08 [error]: at System.Linq.Enumerable.MinMaxInteger[T,TMinMax](IEnumerable`1 source)
2024-08-18 13:16:08 [error]: at osu.Game.Screens.Edit.BindableBeatDivisor.updateBindableProperties()
2024-08-18 13:16:08 [error]: at osu.Game.Screens.Edit.BindableBeatDivisor.<.ctor>b__4_0(ValueChangedEvent`1 _)
2024-08-18 13:16:08 [error]: at osu.Framework.Bindables.Bindable`1.TriggerValueChange(T previousValue, Bindable`1 source, Boolean propagateToBindings, Boolean bypassChecks)
2024-08-18 13:16:08 [error]: at osu.Framework.Bindables.Bindable`1.TriggerValueChange(T previousValue, Bindable`1 source, Boolean propagateToBindings, Boolean bypassChecks)
2024-08-18 13:16:08 [error]: at osu.Framework.Bindables.Bindable`1.set_Value(T value)
2024-08-18 13:16:08 [error]: at osu.Game.Screens.Edit.BindableBeatDivisor.SetArbitraryDivisor(Int32 divisor, Boolean preferKnownPresets)
2024-08-18 13:16:08 [error]: at osu.Game.Screens.Edit.Editor.load(OsuConfigManager config)
2024-08-18 13:16:08 [error]: at osu.Game.Screens.Edit.Editor.<>c.<RegisterForDependencyActivation>b__169_0(Object t, IReadOnlyDependencyContainer d)
2024-08-18 13:16:08 [error]: at osu.Framework.Allocation.DependencyActivator.<Activate>g__activateRecursively|8_0[T](Object obj, IReadOnlyDependencyContainer dependencies, Type currentType)
2024-08-18 13:16:08 [error]: at osu.Framework.Allocation.DependencyActivator.Activate[T](T obj, IReadOnlyDependencyContainer dependencies)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Drawable.LoadFromAsync(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadComponents[TLoadable](List`1 components, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext, CancellationToken cancellation)
2024-08-18 13:16:08 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.<>c__DisplayClass13_0`1.<LoadComponentsAsync>b__1()
2024-08-18 13:16:08 [error]: at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
2024-08-18 13:16:08 [error]: --- End of stack trace from previous location ---
@Gabixel Gabixel changed the title Playable personal (random/test) map can no longer be opened in the editor Playable beatmap can no longer be opened in the editor Aug 18, 2024
@bdach bdach self-assigned this Aug 20, 2024
@ppy-sentryintegration
Copy link

Sentry issue: OSU-1FCS

bdach added a commit to bdach/osu that referenced this issue Aug 20, 2024
In my view this is a nice change, but do note that on its own it does
nothing to fix ppy#29492, because of
`BeatmapInfo` reference management foibles when opening the editor. See
also: ppy#20883 (comment),
ppy#28473.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants