ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.12k stars 2.19k forks source link

changing sections in chart editor crashes #9114

Closed BalancedLight closed 2 years ago

BalancedLight commented 2 years ago

Describe your bug here.

after compiling the most recent version of Psych Engine, going to the end of a song by pressing "A" or having the song loop after it ends causes a "Null Object Reference" error. edit: actually, anytime you press a or d, it does it anyways. image

Command Prompt/Terminal logs (if existing)

N/A

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.

Nothing at all.

BalancedLight commented 2 years ago

https://user-images.githubusercontent.com/43685280/174462591-0a621512-66a7-484e-9516-01faf72e4bd7.mp4 for some reason it didnt record audio

BalancedLight commented 2 years ago

sorry for adding so many changes, but i ran the game using lime test windows -debug, and here are the logs.

source/Discord.hx:68: Discord Client initialized source/Discord.hx:18: Discord Client starting... source/Discord.hx:25: Discord Client started. source/LoadingState.hx:162: Setting asset folder to shared source/Conductor.hx:135: new BPM map BUDDY [] Called from hxcpp::__hxcpp_main Called from ApplicationMain::main ApplicationMain.hx line 25 Called from ApplicationMain::create ApplicationMain.hx line 130 Called from lime.app.Application::exec lime/app/Application.hx line 150 Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146 Called from lime._internal.backend.native.NativeApplication::handleRenderEvent lime/_internal/backend/native/NativeApplication.hx line 370 Called from lime.app._Event_lime_graphics_RenderContext_Void::dispatch lime/_internal/macros/EventMacro.hx line 91 Called from openfl.display.Stage::onLimeRender openfl/display/Stage.hx line 1950 Called from openfl.display.Stage::broadcastEvent openfl/display/Stage.hx line 1166 Called from openfl.display.DisplayObject::dispatch openfl/display/DisplayObject.hx line 1399 Called from openfl.events.EventDispatcher::dispatchEvent openfl/events/EventDispatcher.hx line 402 Called from flixel.FlxGame::onEnterFrame flixel/FlxGame.hx line 545 Called from flixel.FlxGame::step flixel/FlxGame.hx line 677 Called from flixel.FlxGame::update flixel/FlxGame.hx line 747 Called from flixel.FlxState::tryUpdate flixel/FlxState.hx line 203 Called from editors.ChartingState::update editors/ChartingState.hx line 1861 Called from editors.ChartingState::changeSection editors/ChartingState.hx line 2329 Called from editors.ChartingState::getSectionBeats editors/ChartingState.hx line 2936

BalancedLight commented 2 years ago

Fixed in latest commit