ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.23k forks source link

Null Object Reference #15903

Closed AdamPlayz56 closed 1 week ago

AdamPlayz56 commented 1 week ago

Describe your bug here.

(1.0) I'm putting this mod of the erect remixes (which is a mold folder mod) into the assets folders https://gamebanana.com/mods/546457 So instead of them being separate songs in freeplay they will be a difficulty for the songs. Game crashes at a certain part of Pico on Nightmare difficulty (haven't tested Erect difficulty, it also doesn't happen on other songs)

Command Prompt/Terminal logs (if existing)

flixel/sound/FlxSound.hx (line 595)
flixel/sound/FlxSound.hx (line 739)
flixel/sound/FlxSound.hx (line 563)
flixel/tweens/misc/NumTween.hx (line 53)
flixel/tweens/FlxTween.hx (line 1263)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 679)
flixel/FlxGame.hx (line 558)
openfl/events/EventDispatcher.hx (line 426)
openfl/display/DisplayObject.hx (line 1398)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

Just moved all the files into the assets (CORRECTLY)

AdamPlayz56 commented 1 week ago

Ok so now i've finished porting Blammed Erect and it's doing the same thing, but sometimes it crashes and sometimes it doesn't, it's always in the 2nd half of the song though. (I've also added bullet notes if that may have something to do with it because it seems to only be happening on Pico songs) https://gamebanana.com/tools/15662

AdamPlayz56 commented 1 week ago

After some more testing it only crashes if there are bullet notes, so I've just temporarily removed them. If anyone knows / can find a fix let me know please!

(discord user is adamplayz56yt, dm me if u get a fix)