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

Bug Report: Level freezes if you start a song without an audio device connected #2264

Open
2 of 8 tasks
imbigdilly opened this issue May 3, 2024 · 7 comments
Open
2 of 8 tasks
Labels
status: bug reproduced Involves a bug which can be reliably reproduced by reviewers. type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression

Comments

@imbigdilly
Copy link

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.

If you are playing the game in a browser, what site are you playing it from?

If you are playing the game in a browser, what browser are you using?

  • Google Chrome (or chomium based like Brave, vivaldi, MS Edge)
  • Firefox
  • Safari

What version of the game are you using? Look in the bottom left corner of the main menu. (ex: 0.2.7, 0.2.1, shit like that)

0.3.2

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

  • Load into a song without a speaker or headphone connected.
  • The song, chart, and all animations stop playing shortly after the countdown finishes.

Please describe your issue. Provide extensive detail and images if possible.

Running the game without an audio output device connected (speaker, headphone, etc) causes the level to freeze after the countdown is complete. Input is still accepted though, so you can access the pause menu or get a death, but it doesn't fix the issue.

In order to fix the issue, you need to connect a speaker or headphone and the song will play normally.

Additionally, this behaviour causes a crash in Weekend 1. When first loading into one of the songs, the rainfall shader is missing. If you then restart the level, it'll come back, but then cause a Null Object Reference crash if you try to enter the pause menu.

If you're game is FROZEN and you're playing a web version, press F12 to open up browser dev window, and go to console, and copy-paste whatever red error you're getting

@imbigdilly imbigdilly added the type: minor bug Involves a minor bug or issue. label May 3, 2024
@imbigdilly imbigdilly changed the title Bug Report: [DESCRIBE YOUR BUG IN DETAIL HERE] Bug Report: Level freezes if you start a song without an audio device connected May 3, 2024
@imbigdilly
Copy link
Author

I'd also like to add that disconnecting the audio device mid song also causes the level to break, but reconnecting it doesn't fix the issue, meaning you have to close and reopen the game to fix it.

@biomseed
Copy link

biomseed commented May 3, 2024

This has been an issue in the game for as long as I remember. I think it has something to do with the game depending on the music to play in order to have the song progress, unlike others who think it's a bug with haxeflixel or openfl

@EliteMasterEric
Copy link
Member

Can confirm this issue, very hard to solve since it's an issue with the low-level audio device handler.

@Hundrec Hundrec added the status: bug reproduced Involves a bug which can be reliably reproduced by reviewers. label Jan 22, 2025
@Hundrec Hundrec marked this as a duplicate of #3998 Jan 22, 2025
@AbnormalPoof
Copy link
Collaborator

AbnormalPoof commented Jan 22, 2025

Is this a duplicate of 2285?

^ Misread, please ignore

@Hundrec Hundrec added type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression and removed type: minor bug Involves a minor bug or issue. labels Jan 22, 2025
@Hundrec
Copy link
Collaborator

Hundrec commented Jan 22, 2025

I'm not sure, but I've labeled it a major bug

@NotHyper-474
Copy link
Contributor

NotHyper-474 commented Jan 22, 2025

#2285 came after this so I think it would be the other way around. But according to Eric they're different issues.

Since they're both related to audio dis/connecting perhaps this could be made the parent of #2285?

@AbnormalPoof
Copy link
Collaborator

Wait I'm stupid I was reading it wrong lmao

@Hundrec Hundrec marked this as a duplicate of #3976 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: bug reproduced Involves a bug which can be reliably reproduced by reviewers. type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression
Projects
None yet
Development

No branches or pull requests

6 participants