beihu235 / FNF-NovaFlare-Engine

Engine originally used on VS Camellia fanmade.It was later moved to support modules
Apache License 2.0
29 stars 16 forks source link

L1 crash #28

Closed BCKgood closed 5 months ago

BCKgood commented 5 months ago

Describe your bug here.

Hi the options of key binds crash for pressing L1 on gamepad Screenshot_20240504_212547 Screenshot_20240504_212547 Screenshot_20240504_212547 Pls fix this problem

Crash Log or logcat logs (if existing)

Cannot cancel tween variables of an object that is null.
flixel/tweens/FlxTween.forEachTweensOf() [line 1485]
flixel/tweens/FlxTween.cancelTweensOf() [line 1435]
flixel/tweens/FlxTween.cancelTweensOf() [line 500]
options/base/ControlsSubState.swapMode() [line 514]
options/base/ControlsSubState.update() [line 285]
flixel/FlxState.tryUpdate() [line 239]
flixel/FlxState.tryUpdate() [line 248]
flixel/FlxGame.update() [line 750]
flixel/FlxGame.step() [line 680]
flixel/FlxGame.onEnterFrame() [line 559]
openfl/events/EventDispatcher.__dispatchEvent() [line 426]
openfl/display/DisplayObject.__dispatch() [line 1398]

Are you modding a build from source or with Lua?

I am not modding

Have you open preload state?

No

What is your build target?

Android

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

I'am not edit

beihu235 commented 5 months ago

bruh

beihu235 commented 5 months ago

https://github.com/beihu235/FNF-NovaFlare-Engine/actions/runs/8954794233 try this version, if work well I'll upload it

BCKgood commented 5 months ago

Don't work

Screenshot_20240505_092525.jpg

BCKgood commented 5 months ago

Null Object Reference options/base/ControlsSubState.swapMode() [line 514] options/base/ControlsSubState.update() [line 285] flixel/FlxState.tryUpdate() [line 239] flixel/FlxState.tryUpdate() [line 248] flixel/FlxGame.update() [line 750] flixel/FlxGame.step() [line 680] flixel/FlxGame.onEnterFrame() [line 559] openfl/events/EventDispatcher.dispatchEvent() [line 426] openfl/display/DisplayObject.dispatch() [line 1398]

BCKgood commented 5 months ago

It has to do with something missing in that substate: an image or file or position code.

beihu235 commented 5 months ago

https://github.com/beihu235/FNF-NovaFlare-Engine/actions/runs/8958763791 try again