Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

Bug Report: [when i press in "touch here to play the game", my game freezes and this message appears: "Uncaught TypeError: Cannot read properties of null (reading 'duration') at openfl_media_Sound.get_length (Funkin.js:40023:34) at funkin_audio_FunkinSound.init (Funkin.js:95415:56) at funkin_audio_FunkinSound.loadEmbedded (Funkin.js:95375:15) at funkin_audio_FunkinSound.load (Funkin.js:119213:8) at funkin_audio_FunkinSound.playMusic (Funkin.js:119186:40) at funkin_ui_title_TitleState.playMenuMusic (Funkin.js:210449:28) at funkin_ui_title_TitleState.startIntro (Funkin.js:210347:8) at flixel_util_FlxTimer.onComplete (Funkin.js:210318:11) at flixel_util_FlxTimer.onLoopFinished (Funkin.js:114574:9) at flixel_util_FlxTimerManager.update (Funkin.js:114635:56)"

Open iiwwakura opened this issue 9 months ago • 3 comments

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
  • [x] pera

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)

I can't say my game doesn't even loads to that point.

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.

nop

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

game is frozing and an error message appears:

Uncaught TypeError: Cannot read properties of null (reading 'duration') at openfl_media_Sound.get_length (Funkin.js:40023:34) at funkin_audio_FunkinSound.init (Funkin.js:95415:56) at funkin_audio_FunkinSound.loadEmbedded (Funkin.js:95375:15) at funkin_audio_FunkinSound.load (Funkin.js:119213:8) at funkin_audio_FunkinSound.playMusic (Funkin.js:119186:40) at funkin_ui_title_TitleState.playMenuMusic (Funkin.js:210449:28) at funkin_ui_title_TitleState.startIntro (Funkin.js:210347:8) at flixel_util_FlxTimer.onComplete (Funkin.js:210318:11) at flixel_util_FlxTimer.onLoopFinished (Funkin.js:114574:9) at flixel_util_FlxTimerManager.update (Funkin.js:114635:56)

image

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

iiwwakura avatar May 01 '24 03:05 iiwwakura

Are you using Opera GX? I'm simply speculating here, but it seems that Opera GX may handle audio in embedded things (which FNF technically is) differently than most Chromium-based browsers.

Edit: Devs are aware of the bug

SilverT4 avatar May 01 '24 03:05 SilverT4

my bad for late reply.

Yes I'm using Opera, I tried downloading the game and it opened just fine. If the problem was on the browser then it's not a problem for me anymore.

Em ter., 30 de abr. de 2024 23:25, Devin @.***> escreveu:

Are you using Opera GX? I'm simply speculating here, but it seems that Opera GX may handle audio in embedded things (which FNF technically is) differently than most Chromium-based browsers.

— Reply to this email directly, view it on GitHub https://github.com/FunkinCrew/Funkin/issues/2215#issuecomment-2087921461, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHT6U4CBAGXZRNB7RLKQNTDZABOBRAVCNFSM6AAAAABHBMAQA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBXHEZDCNBWGE . You are receiving this because you authored the thread.Message ID: @.***>

iiwwakura avatar May 03 '24 21:05 iiwwakura

Yeah, the devs fixed the issue according to a statement by ninjamuffin on Twitter

SilverT4 avatar May 05 '24 17:05 SilverT4

This got resolved.

EliteMasterEric avatar Jun 17 '24 02:06 EliteMasterEric