File not found, when the file was present

My tester ran into a weird issue unlike I ever seen before. The game tries to complain that there's a missing file, when the actual file is already in the exact location it asks. This was verified by a live video feed. At first I thought it was because there were special characters like underscores and + in the message but then even after renaming it to something simple and sending the new version, it still said that the file was missing. It claims   I was using the sprite from here.





The mv_sprites+_actor1.png  is the sprite that's constantly breaking the game. It claims that it is missing, even when it's not. Renaming it to simply "sprites1" won't help at all even when changing the map where it's causing this problem. Verified that the map data was refreshed to reflect the name change too.


Verified that the file was in a png format and that it was exactly same named as in the editor.
Verified that the file was in a png format and that it was exactly same named as in the editor.

But was it named exactly that way?


There is a problem with windows that overrides capitalisation for local files, and for a networking environment Abcd.png and abcd.png are two different filenames.


Very often Windows capitalises the display of a filename even if the filename itself is not capitalised, and to compensate for possible problems Windows automatically switches any load function to the non-capitlised filename if the first try on the capitalised filename fails.


That automatic substitution doesn't exist in a networking environment like RMMV, and that can result in failures to find a file that windows can load - simply because the file with the correct spelling isn't there, but windows tries the file with the wrong letter (A instead of a or the other way around) and suddenly can load it.
But was it named exactly that way?


Yes. 100% exactly.

Original thread: https://forums.rpgmakerweb.com/threads/file-not-found-when-the-file-was-present.62039/