How to fix pure white screen

I've been wanting to fix this issue for the longest time and I was told it was about some OpenGL error, but that's not true. Here's how to fix it.

What's the issue?
The issue is whenever you try to launch your game, through the playtest option, it just shows a blank white screen. This is a problem because it doesn't let you playtest the game in any possible way. It affects almost all of your base files: Animations, Amours, Actors, Classes, CommonEvents, MapInfos, Skills, States, System and many more. Basically everything that isn't a Map file.

When does it happen?

This usually happens whenever your game is editing your game and it crashes midway through. It's accidently happened to me many times before because I forgot to save and close the editor before restarting my computer. 3 days of work completely gone.

Always remember to back up your work!

How do I fix it?

The fix is simple! As long as you have a copy of your index.html . Logistically speaking, as long as you have a backup of everything it shouldn't be an issue, but let's just say in this scenario everything else is backed up. All you have to do is replace the index.html because the file, if you check it on notepad, is blank with a bunch of spaces covering what would actually be there. This is also the same thing that happens with all of the other corrupted files.

What's that? Don't have the base index.html and you don't want to start another project to get it?

Spoiler: Ta-daaaaa
HTML:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="user-scalable=no">
        <link rel="icon" href="icon/icon.png" type="image/png">
        <link rel="apple-touch-icon" href="icon/icon.png">
        <link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
        <title>Project1</title>
    </head>
    <body style="background-color: black">
        <script type="text/javascript" src="js/libs/pixi.js"></script>
        <script type="text/javascript" src="js/libs/pixi-tilemap.js"></script>
        <script type="text/javascript" src="js/libs/pixi-picture.js"></script>
        <script type="text/javascript" src="js/libs/fpsmeter.js"></script>
        <script type="text/javascript" src="js/libs/lz-string.js"></script>
        <script type="text/javascript" src="js/libs/iphone-inline-video.browser.js"></script>
        <script type="text/javascript" src="js/rpg_core.js"></script>
        <script type="text/javascript" src="js/rpg_managers.js"></script>
        <script type="text/javascript" src="js/rpg_objects.js"></script>
        <script type="text/javascript" src="js/rpg_scenes.js"></script>
        <script type="text/javascript" src="js/rpg_sprites.js"></script>
        <script type="text/javascript" src="js/rpg_windows.js"></script>
        <script type="text/javascript" src="js/plugins.js"></script>
        <script type="text/javascript" src="js/main.js"></script>
    </body>
</html>

Here it is, just for you! All you have to do it put it back in your folder and, assuming that everything else has been updated, it should be fixed! Although it should be of note that inside this .html file the project is labeled "Project1" and the icon is under the directory of "icon/icon.png", if it becomes an issue all you have to do is replace the text with what's supposed to be there. Basically it's like if you made a new project and stole the .html from there.

I hope this helped whoever has been needing this to be fixed, it's totally taken up time from my day to fix this issue and it turned out simple. Thank you for reading!
Nice writeup, but you got something wrong.

was about some OpenGL error, but that's not true.

Whitescreen is an effect, and as always any effect can have more than one cause.
And you even mixed up the details of that effect.

The original whitescreen (and what most of the topicsa about it handle) is when the EDITOR ends up as a whitescreen - when you can't even start creating a project because the editor window where the map and maplist is supposed to be, is completely white.

That is always caused by a problem with the display driver itself, usually when it has no or too old an OGL support (Microsoft drivers are especially notorious for this, because OGL is competition to their DirectX).

And even when going to the project itself, the effect can have multiple causes - a blocked startup sequence due to file damage is only one of them.
And if one of the other causes of this is present, your solution will do nothing.

So you should have phrased it as one possible solution and not dismissing all other solutions that are correct for a different error with the same visible effect.
I've never seen that happen on Ubuntu Linux while using MV. It's still possible that it takes a couple of extra seconds while saving data or loading the data base and that's pretty much all that happens. Why? Because the Linux version doesn't depend on DirectX at all. 😛

Original thread: https://forums.rpgmakerweb.com/threads/how-to-fix-pure-white-screen.155675/