ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.16k stars 2.23k forks source link

Stages refuses to save if importing asset already in images folder. #15737

Open PSI3x opened 1 month ago

PSI3x commented 1 month ago

Describe your bug here.

I am having an unfortunate bug. I am trying to add an animated object into my stage (specifically as a png with an xml, exported from adobe animate). The animation configuration works, but the problem is that the save button refuses to work after I have the animated texture in the stage. Specifically, whenever I try pressing the "save" button, it does not give the save prompt. I believe is a major issue, as you have to scrap the stage progress due to it refusing to save...

Command Prompt/Terminal logs (if existing)

No response

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

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

No, I used a clean Psych 1.0 install.

PSI3x commented 1 month ago

I've tested this a bit more extensively. It instead refuses to save (or add more images) if you load something from the /images folder. I think it has to do with a failsafe relating to this prompt window, but I'm not sure. So by extension this prevents importing animated assets. This is because when importing them from another folder, it will not find the xml file, resulting in the import failing. If it is in the images folder it imports correctly but you cannot save it, due to the save button being unusable (presumably due to a prompt that does not exist) notin I will change the title accordingly.