ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.11k stars 2.18k forks source link

Cannot make a character in the character editor! (Fixed it, was just a export issue) #14234

Closed SludgePrograms closed 6 months ago

SludgePrograms commented 6 months ago

Describe your problem here.

So whenever I load the appropriate mod into the character editor and type in the characters name which matches it's Image file and XML, it would result in a crash, the message I recieve is this-

C:\HaxeToolkit\haxe\std/haxe/xml/Access.hx (line 44) flixel/graphics/frames/FlxAtlasFrames.hx (line 266) states/editors/CharacterEditorState.hx (line 802) states/editors/CharacterEditorState.hx (line 625) flixel/ui/FlxButton.hx (line 521) flixel/ui/FlxButton.hx (line 507) openfl/events/EventDispatcher.hx (line 444) openfl/display/DisplayObject.hx (line 1400)

Uncaught Error: SubTexture is missing attribute width Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

I need help resolving this since I'm kinda trying to make something for my brothers birthday lol.

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

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

No, I was upgrading to the new psych engine mainly because I was having problems with the version before it.

mcagabe19 commented 6 months ago

xml issue aka your issue

ShimpelShe commented 6 months ago

maybe you should compare some other character's xml files and compare theirs to yours and proper capitalization is quite important, it's que difference between Width and width which makes it work.

Squidd0 commented 4 months ago

I get a similar problem but instead of it crashing, it says "Error: No animation found". I've done everything it says to do in the guide, too.