Yanfly Doodads Loading Error

Hey everyone,

I was hoping someone on here could help me, because I am at a loss.

I was able to successfully use Yanfly's Doodads plugin for a long time. When I started using it, I made sure the plugin was updated and followed all of the instructions on Yanfly's instruction video. A couple days ago, I fired up RMMV with the intention to finish decorating one of my maps, and found that none of the files in any user-added folder would load. Though all of the default ones Yanfly made worked, and all of the doodads that I had previously placed on the map still showed as normal.

I get an error message similar to this anytime I try to place a doodad that is stored in one of my user-added folders:
Loading Error
Failed to load: img/doodads/Cyanides%20Doodads%20Part%201%20(Nature)/Plants/._Flowers%20CY01.png

I have tried updating the plugin, I have tried deleting added folders and re-adding them, and I made sure that my version of RPG Maker MV was updated (version 1.6.2). I have made sure the Doodads plugin script is in the plugin folder and the Doodads.json file is in the data folder. I even made sure that Yanfly's core engine was updated just in case (I know know the doodads plugin isn't dependent on the core plugin). I am only using Yanfly plugins.

I also made a new project with only the Doodad plugin to see if there was some other plugin causing incompatibility issues. I have the same problem. Default doodads Yanfly has made load correctly, but folders I have added will not load the png files in them properly.

It is interesting to note that when I copy all of the pictures in my user-added file and paste them to folder Yanfly made, the files load properly.

UPDATE:
It seems that any new folder I make within the Doodads folder works properly, but none of my old ones do. I can remake and reorganize my folders, but has hoping to avoid that. Does anyone know why a folder I previously made would load incorrectly, and one I made a minute ago work properly?

I've moved this thread to Plugin Support. Thank you.

Ah, this is my first post. I apologize.
Is your Yanfly Doodads plugin updated?
Cyanides%20Doodads%20Part%201%20(Nature)/Plants/._Flowers%20CY01
I don't think that your folder is named "Cyanides%20Doodads%20Part%201 etc, and that is one of the problems...

MV creates HTML5-based games, and all browsers expect the adresses to follow networking rules.
Under networking rules, spaces are NOT ALLOWED - which is why they have to be replaced with %20 even in error messages.
Yes, Windows has an override that tries to force browsers to allow spaces - that is exactly where the %20 comes from.
But that doesn't always work, and it is guaranteed to cause problems if you deploy to other devices.

So you better rename all folders that do not follow networking rules, even if that is a lot of work because you'll have to redo all references inside your project. But otherwise you'll risk these "failed to load" for every file and folder that does not follow networking rules...
Is your Yanfly Doodads plugin updated?

Yes, I've made sure the plugin was updated. I used a freshly downloaded plugin and associated files in a brand new test game file where Yanfly's Doodads plugin was the only plugin. And I still had a similar error, but without all of the percent [%] signs.

Under networking rules, spaces are NOT ALLOWED - which is why they have to be replaced with %20 even in error messages.
Yes, Windows has an override that tries to force browsers to allow spaces - that is exactly where the %20 comes from.
But that doesn't always work, and it is guaranteed to cause problems if you deploy to other devices.

I tried changing the file name, but when I play tested it, the game couldn't reference the doodads because file it was looking for technically didn't exist anymore. At which point, I comically slapped my forehead because the same thing happens with audio files in Pro Tools, which I use a lot. I know computers don't like spaces in file names and have run into the problem before, just never with RMMV.

I wasn't that far into the decoration process, so it's not a really big deal. Better to find this problem now, than much later on down the line. Like I said, I can reorganize everything and make new files that follow proper protocols, but was just trying to avoid it. Thanks for your help guys! I really appreciate it!
Hi, how did you solve this path name issue? I'm having the same issue when I copied my files in another pc.

What folder path name should I put in the doodads plugin so that it can detect where it is installed?

Tried the following path locations but doesn't work:
"\img\doodads\"
"..\img\doodads\"
Necro-post notice: jamzkie143
I suggest you start a new thread, with all the relevant details, as often having the same problem does not mean that people have the same cause.

Moderator note: Closing this

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-doodads-loading-error.108769/