miksel1 / FNF-ScrewedEngine

A Dave and Bambi Engine
Apache License 2.0
15 stars 9 forks source link

Native Notetypes fix #37

Closed PHGaming121 closed 1 year ago

PHGaming121 commented 1 year ago

Describe your bug here.

I tried to add a song from strident crisis(the song called "Incinerate"), but it give me an error saying something like Note.setNotetype,etc

Then, it give this: Uncaught error: Null Object Reference

Then, i opened the incinerate.json file and found 2 notetypes(No Animation and Alt Animation)

Why do i think the native notetypes are glitched!??!!?!?

Command Prompt/Terminal logs (if existing)

Note.hx (line 201, Method(Note, set_noteType))
PlayState.hx (line 2685, Method(PlayState, generateSong))
PlayState.hx (line 1162, Method(PlayState, create))
flixel/FlxGame.hx (line 642, Method(flixel.FlxGame, switchState))
flixel/FlxGame.hx (line 729, Method(flixel.FlxGame, update))
flixel/FlxGame.hx (line 682, Method(flixel.FlxGame, step))
flixel/FlxGame.hx (line 550, Method(flixel.FlxGame, onEnterFrame))
openfl/events/EventDispatcher.hx (line 402, Method(openfl.events.EventDispatcher, __dispatchEvent))
openfl/display/DisplayObject.hx (line 1399, Method(openfl.display.DisplayObject, __dispatch))

Uncaught Error: Null Object Reference
Please report this error to Wither362 (Discord: Wither#9781, GitHub: Wither362),
or MemeHoovy (Discord: MemeHoovy#0001, GitHub: https://github.com/MemeHovy)
or by the GitHub page: "https://github.com/miksel1/FNF-ScrewedEngine"

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

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

No, i edited nothing

moxie-coder commented 1 year ago

hmm, I'll look into this when I have the time to

PHGaming121 commented 1 year ago

i edited the issue so now u can see the error

moxie-coder commented 1 year ago

cool