ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.35k stars 2.28k forks source link

Mis-aligned beat bar in mania mode #6215

Closed cthbleachbit closed 5 years ago

cthbleachbit commented 5 years ago

Describe the bug:

Falling beat hint lines in mania mode are not aligned with actual beat nor the falling notes (with correct timing of course). The beatmap used in the screenshots is 787919, but the issue isn't limited to this one only.

Screenshots or videos showing encountered issue:

osu!lazer version:

The issue was discovered on git master, at the time of writing, 9fe7675be81. I attempted git bisect and I think the issue is introduced with commit af3bb5a2c and merge request #6054.

Logs: network.log performance.log performance-gamethread.audio.log performance-gamethread.draw.log performance-gamethread.input.log performance-gamethread.update.log runtime.log

bdach commented 5 years ago

After analysis, af3bb5a introduced two changes to bar line generation in mania:

For a visual summary, you can look at this comparison video. Left - commit before regression, upper right - current master, lower right - master with my band-aid fix.

I'm pretty sure this will show up on almost any beatmap without fail.

@peppy If you're not going to end up reverting, I can try to take a shot at this - unless you'd rather take this yourself.

smoogipoo commented 5 years ago

Yeah I knew this was the case when I merged the original PR. The density reduction is intended but the anchoring should be fixed.

peppy commented 5 years ago

The rate of bar lines is not a regression – the change was intentionally made to match stable (was not previously matching).

Unsure about any other differences, if they exist.