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.

Scrolling down far enough in SongSelect and then trying to scroll via mouse crashes the game

See original GitHub issue

This needs a fair amount of beatmaps, probably a few hundred sets. But when you scroll down a certain amount and then try to drag with the mouse, ScrollContainer gives an error without actual message. Looking into it, it’s usually a Trace.Assert call inside OnDrag that fails because the two values are too far apart from each other (looks like a float imprecision).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peppycommented, Oct 29, 2019

Reproduction:

  • Switch to local framework
  • Drop this code in TestSceneBeatmapCarousel:
[Test]
public void TestLoadMany()
{
    List<BeatmapSetInfo> manySets = new List<BeatmapSetInfo>();

    for (int i = 1; i <= 10000; i++)
        manySets.Add(createTestBeatmapSet(i));

    loadBeatmaps(manySets);

    AddStep("scroll to last", () => carousel.SelectBeatmap(manySets.Last().Beatmaps.First()));
}
  • Run and drag for about 500ms after it finishes the steps

This probably needs a framework-side issue and fix.

0reactions
bdachcommented, Apr 17, 2021

No need to double-track this. Closing in favour of framework issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mouse scrolls up sometimes when I'm scrolling down(and ...
I had this problem for a while now, but it didn't bother me much because I use the arrow keys to scroll down....
Read more >
the infinite scroll wheel on my mouse breaks the game. yes ...
This looks like more anti-cheat than game crashing. Realistically no human could spam inputs that fast. I have the same Logitech mouse ......
Read more >
Crash when scrolling mouse wheel while Mouse Tweaks is ...
Issue description: The game crashes when you're interacting with an RS block that holds a stack of items, and you scroll the mouse...
Read more >
Illustrator 27.7 Mouse wheel scroll causes lockup
Holding Shift and using the mouse wheel pages up and down. Ctrl and mouse wheel scrolls left and right. Illustrator now does not...
Read more >
Why did my mouse scroll suddenly stop working while in a ...
The scroll wheel on my mouse is acting erratically, occasionally moving the page up when I am scrolling down and vice versa. How...
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