question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Game freezes when you search for a beatmap in the carousel with the search bar

See original GitHub issue

Describe the bug: Not sure if it’s related to my large number of beatmaps in the carousel, but something has changed recently which seems to reduce performance when searching for a beatmap in the carousel with the search bar.

Screenshots or videos showing encountered issue:

https://user-images.githubusercontent.com/43073074/105505316-1b3b8700-5cc9-11eb-8eb0-d00f74a9a393.mp4

https://user-images.githubusercontent.com/43073074/105505635-7bcac400-5cc9-11eb-9972-dbc8796afaa9.mp4

osu!lazer version: 2021.118.1

(The logs don’t seem to give any information about it)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
peppycommented, Feb 9, 2021

Preliminary investigation shows that this was caused by the switch to .NET 5, and potentially a different pathway being used for IndexOf for better unicode support (presuming that’s what ICU stands for…?)

20210209 175727 (Parallels Desktop app)

https://github.com/dotnet/docs/issues/18423 https://github.com/dotnet/runtime/pull/34645

Code specifically:

https://github.com/dotnet/runtime/blob/69f260eff523bc16c8a95c232e4816b3a1764e88/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs#L1117-L1120

This would imply that this has only ever been faster on windows (due to other platforms preferring ICU previously?). Still a cause for concern…

Further investigation: this is being tracked https://github.com/dotnet/runtime/issues/40942 (the most recent comment shows some improvements have been make for net 6.0) more specifically https://github.com/dotnet/runtime/issues/37815

It is feasible to disable ICU on windows to get back the performance short term, but probably not worth it? If anything, this says that we need to make this flow asynchronous in the future (which is something I already planned on visiting when switching this code across to realm).

0reactions
Zeno-ZXcommented, Jul 10, 2022

As you may notice, this issue is still open, which means the issue has not been fixed yet.

Yes, I have noticed this. I suppose I should’ve changed my wording- I just wanted to see if this was still being addressed, and it seems to be. This is the one thing stopping me from switching to osu!lazer as my main client.

Thanks for everything ppy!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there something wrong with beatmap listing's search bar?
Typing a song or keywords into the search bar is fine but actually trying to get the search request to go through is...
Read more >
[resolved] Game freezes after beatmap is completed. - Osu! - ppy
When playing in online mode game randomly freezes (~every fifth songs on average) after beatmap is being completed and stats are shown.
Read more >
osu! beatmaps crash the game :: Holodance Bug-Reports
On my monitor, the game window is frozen and it takes several clicks to ... On the osu songs (which are very new...
Read more >
how to use search filters on osu! - YouTube
search filters have saved me years of my precious life, ... years of yours as well. less time finding maps and more time...
Read more >
Opsu!(Beatmap player for Andro - Apps on Google Play
Opsu is an open-source version of osu! written in java and it is now on the play store. You can download beatmaps from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found