Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

"Null Object Reference" when loading Custom Character

Open CPPxfnfmodsmaker opened this issue 2 years ago • 1 comments

Please check for duplicates or similar compiler issues by filtering for 'compiler help'

  • [x] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] HTML5

Please describe your issue. Provide extensive detail and images if possible.

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 551 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 PlayState::update PlayState.hx line 1365 Called from MusicBeatState::update MusicBeatState.hx line 41 Called from flixel.addons.ui.FlxUIState::update flixel/addons/ui/FlxUIState.hx line 212 Called from flixel.group.FlxTypedGroup::update flixel/group/FlxGroup.hx line 175 Called from Character::update Character.hx line 546

https://user-images.githubusercontent.com/101651840/175929896-ac65e75a-7982-4ffe-8777-fb4728393e63.mp4

https://user-images.githubusercontent.com/101651840/175930160-49b40ac4-e8fd-481d-a028-a182fb17088e.mp4

CPPxfnfmodsmaker avatar Jun 27 '22 11:06 CPPxfnfmodsmaker

did you write the code for the new character's icon in HealthIcon.hx? if not the game will search for an icon animation called the name of the character, and won't find it.

BLJMan avatar Jun 27 '22 22:06 BLJMan