FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.98k stars 2.29k forks source link

Bug Report: Unfocusing the game before a cutscene causes the game to softlock #2395

Open DelphicVoiceAddragh opened 6 months ago

DelphicVoiceAddragh commented 6 months ago

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?

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)

v0.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.

Before a cutscene loads, click off the game/browser.

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

(tested only on Newgrounds and Itch web) If the game gets defocused before a cutscene begins, the audio of the cutscene will play but the video itself won't load. After this, the game will not load anything else, even if the game is refocused.

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

Uncaught TypeError: null has no properties convertToCanvas https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:284132 createBitmapFill https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:315103 playCommands https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:317165 endFill https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:315225 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:316709 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:304076 __hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3620 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3614 __hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3614 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 __hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3614 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3614 __hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3614 hitTest https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:3398 __onMouse https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:310031 dispatchPendingMouseEvent https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:308749 __onLimeWindowLeave https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:309978 tmp https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:309532 dispatch https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:149622 handleMouseEvent https://uploads.ungrounded.net/alternate/1528000/1528775_alternate_113347_r112.zip/Funkin.js:283295

Hundrec commented 1 month ago

I can't reproduce this on Newgrounds in 0.5.2 Maybe this issue no longer occurs? If anyone can reproduce this, let me know!