Script 'Cache' line 106: RGSS Error (Failed Bitmap)

My game has been working fine, but whenever I try to play it now, it gives the "Failed to create Bitmap" error when I try to open the menu or go into a battle. Does it have anything to do with my scripts?. I haven't added anything new since the last time I played. It just decided to give me the error recently. I was reading about this problem with other people, but their solutions are always getting rid of a file that is too large (5000+ pixels). I don't have any pictures in my RPG that are close to that. My laptop froze earlier, so I had to restart it. Could that be a problem?

SCREENSHOTlol.png
Have you been messing around with the script?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


The engine doesn't "just decide" to start throwing errors. It's possible that a file you're using as been deleted or has become corrupt. If you've read about this problem from other people, you would have seen my following suggestion in many of those threads. Did you try it? What did it say?


http://forums.rpgmakerweb.com/index.php?/topic/19363-ace-cache-error-line-106-failed-to-create-bitmap/#entry185843


http://forums.rpgmakerweb.com/index.php?/topic/18620-a-script-cache-issue/#entry179437


http://forums.rpgmakerweb.com/index.php?/topic/11990-line-106-error-and-can-not-process/#entry122942


Is it when you try to open the menu, or immediately on loading the game? If the latter, I'm guessing it's the windowskin. If the former, I'd be looking at actor faces (unless you've modified the script to make it show something else). Could be that a file has just been renamed, or named incorrectly. Not sure if case matters with file names.
It's when I go into battle/open menu. I did what you said in the other posts, and I found out which file was corrupted. The face file for my main character corrupted. You can close the thread now. Thanks 😀
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-cache-line-106-rgss-error-failed-bitmap.20493/