FunkinCrew / Funkin

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

Crash Report: Null Object Reference when exiting the Input Offset menu #3489

Open MTB207 opened 3 weeks ago

MTB207 commented 3 weeks ago

Issue Checklist

What platform are you using?

Itch.io (Downloadable Build) - Windows

If you are playing on a browser, which one are you using?

None

Version

0.5.1

Context (Provide screenshots or videos of the crash happening)

im not entirely sure how this happened but after downloading the new version and trying to finally fc cocoa erect i noticed that my game wasnt running smoothly as it should so i went to settings where my fps was reseted to 60. music cut off once i got on the options menu and after kicking my frames up and entering the input offset screen for no real reason i got a null object as soon as i tried to exit

Steps to reproduce

not sure how to replicate this, maybe its a one time thing but still PS it is not a one time thing

Crash logs (can be found in the logs folder where Funkin.exe is)

crash-2024-09-30-21-01-05.log crash-2024-09-30-21-01-03.log

lemz1 commented 3 weeks ago

i looked at the code, and noticed that the crash happens because no music was playing i'll just quickly make a pr for that

lemz1 commented 3 weeks ago

btw i was able to replicate the issue, it seems as if going to freeplay and then back to mainmenu and then to options makes the music cut off, idk why though, definitely gotta look into that

AbnormalPoof commented 1 week ago

Fixed in v0.5.2.