FunkinCrew / Funkin

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

If press enter on retry and then press escape a crash will happen and erase the whole data #2399

Open AndZRi opened 4 months ago

AndZRi commented 4 months ago

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)

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.

  1. press enter to retry
  2. wait until it's a bit dark
  3. press escape
  4. and there is your erased data including settings and scores

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

image 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

Funkin.js:308917 Uncaught TypeError: Cannot read properties of null (reading 'set_x') at flixel_util_FlxTimer.onComplete (Funkin.js:148653:25) at flixel_util_FlxTimer.onLoopFinished (Funkin.js:114577:9) at flixel_util_FlxTimerManager.update (Funkin.js:114638:56) at flixel_FlxGame.update (Funkin.js:20939:12) at flixel_FlxGame.step (Funkin.js:20917:8) at flixel_FlxGame.onEnterFrame (Funkin.js:20853:10) at openfl_display_Stage.dispatchEvent (Funkin.js:1194:15) at openfl_display_Stage.dispatch (Funkin.js:2203:73) at openfl_display_Stage.broadcastEvent (Funkin.js:308689:19) at openfl_display_Stage.onLimeRender (Funkin.js:309783:8)

NotPyro404 commented 4 months ago

I found another bug exactly like this, but rather than Escape, it's Backspace. Windows/Firefox/Itch.io/0.3.2

I've also re-tried it on Windows/Chrome/Itch.io/0.3.2, and it gives the same error message. I have a small clip (I'm dogshit) of the Firefox/Itch version crashing.

https://github.com/FunkinCrew/Funkin/assets/141536178/ae813aaf-490d-4488-9763-abde25fd657f

Couldn't get the red-error message in console since then my screen froze and I had to brute-close. (not really sure, F12 didn't respond)