Crashs and crashs and crashs

Hello,

I made two games a few years ago. My games are finished and worked well. But since I reopened my projects a while ago, I always have crashes when I run test sessions.

The game can crash a dozen times before it runs normally.
Strangely, if the game doesn't crash 10-15 seconds after launch, then the game will run smoothly afterwards. The crashes are therefore about 15 seconds before launch.

I tried to disable all plugins but the problem doesn't come from there (either the first or the second game).

In particular, I have implemented a preloading plugin. But even during the preload, the game can crash.

I am really lost because I have no idea where it could be coming from (I've tested on different PCs and Macs).

Is this a recurring problem? Does anyone have an idea?
Sounds like a corrupted resource? Maybe a picture, audio/music or json file got corrupted somehow. Its hard to say.

What happens if you change the first loaded map to an empty one(with all plugins disabled)? Also, could you try and press F12 right as you open the game and, if it doesn't crash, screenshot the console and show us here?
What kind of crashes are we talking about here?

Is the program locking up? Does it become unresponsive and windows recommends closing it? Does it crash to a black screen with an error message on screen? If so, what is the error message?

If it provides an error message, that is an integral part of figuring out what is causing the crash, be it a corrupted resource, missing data file, missing resource, or some kind of plugin issue. If it's locking up, it might be a larger issue with the PC as well, although you said you've tested it on other PCs and have the same problem, so that seems less likely.
Thank you for your answers.

What happens if you change the first loaded map to an empty one(with all plugins disabled)
Nothing special. Game can crash, or not. It's random.

Is the program locking up? Does it become unresponsive and windows recommends closing it? Does it crash to a black screen with an error message on screen? If so, what is the error message?
Sometimes I have a blackscreen, sometimes the window closes by itself.
I have not error message on screen.

Also, could you try and press F12 right as you open the game and, if it doesn't crash, screenshot the console and show us here?
I have this line that appears sometimes, but I don't understand what the problem is with this "index" file. And why that can appears, and sometimes no.
On a friend PC, he has this error message on the console window:

1655927855-capture9.png


Nobody knows?

Original thread: https://forums.rpgmakerweb.com/threads/crashs-and-crashs-and-crashs.148764/