Script 'Cache' line 106: RGSSError occured

Hi, I was working on my game when this rather annoying error popped up:

Script 'Cache' line 106: RGSSError occured

Failed to create bitmap.

I did some googling, and it seems this generally caused by a corrupted image file, or for some reason the engine can't find any custom image files. I thought this might be my problem, as I created a custom sprite using the in-engine tool. I'm using the Steam Version, so I made sure the Face and Character images were in both RPGMVXA's locations in SteamApps, and My Documents. I also verifed all of the images to be uncorrupted, yet I still recieve this error. Any suggestions or advice would be greatly appreciated. 🙂

The process before this error, if it would help, is:

1. New game at title screen

2. A basic cutscene runs (Tint black, some text, transfer player to a map)

3. Error occurs.
yes, that error means you have a problem with a file. Are you sure the files are where they're supposed to be? because they need to be in the project's directory structure, not in any basic location. Test it with the resource manager of your project - are they displayed in the correct directory inside the resource manager? if not, the project can't use them.
Actually, if you were missing a file, it would tell you what file was missing. The message would be different.


The message above I have often seen in relation to a particular script, where a null value is being passed as the image to load, but I don't recall which one it was, or the author. What scripts have you added to your game? Please provide links to them.
I've added no scripts to my game, just created a single event using what I had available to me in the engine. Regardless, this is a screenshot of it. http://puu.sh/hjFrX/965ed1f0b5.png
Please check the events on the map that the player is transferred to - an autorun or parallel process event there is probably the cause for the error, especially because the transfer to another map ends the event - the two commands about transparency and the self-switch will NOT be executed if the transfer sends the player to a different map.
Unfortunately, there aren't any other events at all in the game. There's two maps, the first map, has the character starting position and the aforementioned event. The second one has none. It's just tiles.
Can you zip up your project and load it online somewhere so we can take a look?
Sure. Here ya go. https://mega.co.nz/#!q4sQVBTT!5580DPFGVU2hKSW7g3nmHyNB5OF-dKZMZ33iwHhg1dA
Anyone have any ideas? I can't really work on my game till this is fixed.
Try the approach taken in this thread to find out what file you are missing:

http://forums.rpgmakerweb.com/index.php?/topic/39079-game-crash-error/
That fixed it! Thank you so much. Apparently my Dungeon_A1 tileset was corrupted.

Original thread: https://forums.rpgmakerweb.com/threads/script-cache-line-106-rgsserror-occured.39022/