I know that this is some controversial topic for many developers, however in production scenaries, when there's a missing file (for example, a sound, a music, or an image), what only should happen is that the file is not loaded because it was not found, and that's all.
However, when the error message appears, it can be very troublesome for both the developer and, more specifically, the player.
Because, imagine you deploy a game, everything goes good, but after an hour of playtime you enter a map where the BGM file was renamed to another one and you haven't updated it on the Map Properties. BoOM, *missing BGM_1* (retry).. (keep retrying)...
Now it's a game over for the project. Bad reviews are coming which will most likely not be removed, and now even if you update the project, you already have bad records in the reviews, all because a missing bgm file which could perfectly end just playing the previous BGM (or just hear silence until another BGM is played), and prevents your player from continue playing the game for... maybe an hour, or even worse, a full day or more.
Same happens for graphics, is better see that your character goes invisible, or swing an invisible weapon, than cut out the player's experience until you make a 300MB update for just 1KB file, having to make an "urgent update" just due an image rather than update the project a week or month later followed with a package of fixes/improvements.
Funny enough, there's some cases where a missing file just upgrades the functionality of some plugins and you get a desired effect instead of an unwanted effect.
This happens for example with @Pheonix KageDesu 's AnimaX. I wanted the option to only use LEFT-RIGHT frames on certain cases, so I used his plugin with another plugin snippet, and here's the result, however... oh oh, look what happens when I try to open menu... those error messages broke my plan!
...and now, in the case of AnimaX, if I add these missing files, I get the unwanted effect of the character looking at left direction when going up while I was facing right direction. So yeah, the missing images were actually upgrading AnimaX, weird enough that the errors of missing files were only shown up at the moment I press ESC for open the menu.. damm! I hate those error messages!
To avoid this chaos, is much better to let the developer decide what happens if there's a missing file:
That's all. See the majority of commercial games from Sony, Xbox, etc, none of them cuts out your game just due a missing x.png file somewhere, players report it and the developers fixes it when they find convenient.
However I agree that for errors of code, is better to keep them because it may end into a cascade of unwanted glitches like freezes, dupes, etc. But, in the case of missing files, this should be upon developers choice.
This is something that I was looking for since the release of RPG Maker, however I haven't found anything after doing a google search. Maybe it already exists for MV and I haven't searched good enough.
Nonetheless, for myself, with just making that nothing happens would be alright, don't need error log neither pop-up error, I would let players notice and report them instead. But since this can be really useful for more developers, I improved the suggestion a bit more to also show an in-game pop-up plus save a .log file.
Hope to see this soon.
Thanks in advanced.
However, when the error message appears, it can be very troublesome for both the developer and, more specifically, the player.
Because, imagine you deploy a game, everything goes good, but after an hour of playtime you enter a map where the BGM file was renamed to another one and you haven't updated it on the Map Properties. BoOM, *missing BGM_1* (retry).. (keep retrying)...
Now it's a game over for the project. Bad reviews are coming which will most likely not be removed, and now even if you update the project, you already have bad records in the reviews, all because a missing bgm file which could perfectly end just playing the previous BGM (or just hear silence until another BGM is played), and prevents your player from continue playing the game for... maybe an hour, or even worse, a full day or more.
Same happens for graphics, is better see that your character goes invisible, or swing an invisible weapon, than cut out the player's experience until you make a 300MB update for just 1KB file, having to make an "urgent update" just due an image rather than update the project a week or month later followed with a package of fixes/improvements.
Funny enough, there's some cases where a missing file just upgrades the functionality of some plugins and you get a desired effect instead of an unwanted effect.
This happens for example with @Pheonix KageDesu 's AnimaX. I wanted the option to only use LEFT-RIGHT frames on certain cases, so I used his plugin with another plugin snippet, and here's the result, however... oh oh, look what happens when I try to open menu... those error messages broke my plan!
...and now, in the case of AnimaX, if I add these missing files, I get the unwanted effect of the character looking at left direction when going up while I was facing right direction. So yeah, the missing images were actually upgrading AnimaX, weird enough that the errors of missing files were only shown up at the moment I press ESC for open the menu.. damm! I hate those error messages!
To avoid this chaos, is much better to let the developer decide what happens if there's a missing file:
- Nothing happens, no error log or in-game message: Let players send you an screenshot or video when they don't see the sword that supposedly should be shown.
- In-game message and/or error log: Let players see an pop-up error message somewhere in the screen once, then the game just skips the loading of said file and continues playing normally. Optionally, also the error is saved in a .log file that can be sent to the developers.
- Option to decide what happens in test mode and production mode. Maybe you find useful to show an in-game pop-up of a missing file when you-re play testing, but you don't want to happen anything at all on production, so players don't see an ugly "ERROR: SWORD.PNG NOT FOUND" message, and from 9 out of 10 players, they just didn't care enough and 1 of them noticed and reported it.
That's all. See the majority of commercial games from Sony, Xbox, etc, none of them cuts out your game just due a missing x.png file somewhere, players report it and the developers fixes it when they find convenient.
However I agree that for errors of code, is better to keep them because it may end into a cascade of unwanted glitches like freezes, dupes, etc. But, in the case of missing files, this should be upon developers choice.
This is something that I was looking for since the release of RPG Maker, however I haven't found anything after doing a google search. Maybe it already exists for MV and I haven't searched good enough.
Nonetheless, for myself, with just making that nothing happens would be alright, don't need error log neither pop-up error, I would let players notice and report them instead. But since this can be really useful for more developers, I improved the suggestion a bit more to also show an in-game pop-up plus save a .log file.
Hope to see this soon.
Thanks in advanced.