Any plugins known to cause soft locks/freeze the game?

This is a pretty vague question, I know, but I'm wondering if anyone knows of any plugins--or certain combinations of plugins--that are known to occasionally cause games to freeze up or act unresponsive.

The exact issue I have is this: on extremely rare occasions, the game will 'freeze' - the music still plays and pressing the menu button plays the sound effect for opening the menu, but the graphics are frozen so the game is effectively soft-locked.

This bug occurs in two of my games, both of which use very similar plugin structures. The main problem I have with this error is that it seems to happen completely at random - once it happened randomly while my game was minimized, and once it happened during dialogue. The few reports from other players indicate that it's occurred in other seemingly random areas, with the only common thread being that it doesn't seem happen during battles.

With this bug being almost impossible for me to replicate--especially since I haven't yet been able to pull up the console to see if an error showed up after this happened--my only idea is that it could be a plugin or combination of plugins (or possibly the custom code I wrote--hopefully not!). Here's a screenshot of my plugin list:

Spoiler: plugins
plugin1.png
Two plugins not shown are a plugin used to load extra image files and Iavra's localization plugin. GBCore is my own plugin with lots of various code edits, mainly for forcing grayscale graphics and forcing side-view battle with the sprites being in a different location and behaving differently.
I don't know about combinations of plug-ins but I've had it happen a couple of times to me while playing other MV games. I wonder if something in the MV code is not properly handing scene changes and making sure it is displaying the change (openGL issue maybe?).
Not sure. From the four occurrences of the error I know of (and other reports I've forgotten), one happened while the game was minimized (just standing in a spot on a map), twice during dialogue, and a tester reported that it happened once in the menu itself while browsing items.

There doesn't seem to be any rhyme or reason to it. Being impossible to replicate and happening so rarely is making this a very difficult bug to pin down.

I doubt any Yanfly plugins would cause this, so my current suspicions lie on the GradientWipe plugin I use for custom battle transitions, Iavra's localization core plugin, and my own code.
All I can think of is to open your developer tools window as soon as you launch the game, and keep it open, so it's at least there if/when the game freezes. I don't know that it'll tell you anything though, as errors would normally cause the game to crash, not freeze.
Apologies if this is considering "necroing" a thread--it's my thread and it's still an ongoing issue, so I figured i'd bump it instead of making a new topic.

Anyway, I've confirmed this issue in three out of my last six completed games--as well as my current project--and still haven't found what's causing it or a good way to replicate it. It happens in both windowed mode and fullscreen and usually occurs when the game's been tabbed out for an extended period of time--just how long, I'm not sure. Personally I've never encountered the problem in playtest mode, only when the game's actually deployed so I can't open devtools, assuming that would help.

For now I'm going to try disabling a couple "non-essential" plugins at a time that each game shares in common and see where that gets me. I think first I'll try messing with Yanfly's FPS Sync option and the graphics option with the Community Basic plugin. I'll update this thread again if I find out what's causing it, though hopefully someone else has had the same issue and found a solution already...
deployed so I can't open devtools
you can, only the shortcut from the playtest doesn't work anymore.
but all browsers have menu functions to access the developer tools, and one of them is the console.
I think @ct_bolt has made a fix for this! Maybe it will help?
@Eliaquim that'd be great if true! The only idea I've thought to try so far is changing the rendering mode from auto to Canvas with the Community Basic plugin, but that caused problems immediately so I had to change it back. My games use a lot of plugins, but I can't think of any that'd cause the *graphics* specifically to freeze while everything else still technically works.
@Eliaquim that'd be great if true! The only idea I've thought to try so far is changing the rendering mode from auto to Canvas with the Community Basic plugin, but that caused problems immediately so I had to change it back. My games use a lot of plugins, but I can't think of any that'd cause the *graphics* specifically to freeze while everything else still technically works.
...hmm... could try this...
Fix_NoActivity.js: Click Here to Download
Spoiler: Code
(function($) {$ = Graphics.render;Graphics.render = function(stage){if (this._skipCount <= 0){this._skipCount = 0;} $.apply(this, arguments);};})();
...but honestly not sure if it will work for your scenario or not.
I've hit this issue myself on some other software not MV, it happens to me on youtube or windows media player if I move away from it for a minute or two while a video is running then come back, the video will be locked, but not the sound and audio. I've hit it too on twitch streams sometime as well.

Only happens on my win7 PC though, so it might be an outdated video card driver. But it might be worth seeing if others who have hit this in their games hit it if they run youtube for a while then tab away and tab back in like 5 or so. Or if they run a video on their PC. If so it might be a graphics driver issue and not an MV issue.
...but honestly not sure if it will work for your scenario or not.

It's worth a shot! Thanks a bunch!

Only happens on my win7 PC though, so it might be an outdated video card driver. But it might be worth seeing if others who have hit this in their games hit it if they run youtube for a while then tab away and tab back in like 5 or so. Or if they run a video on their PC. If so it might be a graphics driver issue and not an MV issue.

Perhaps. I believe I've heard of at least four different people (with different PCs, including myself) running into the same problem. I definitely wouldn't rule out outdated graphics drivers. One of the weirdest issues I ever ran into was a user from Aldorlea who was playing Knight Bewitched and couldn't read the text because certain letters were literally just missing from the message boxes. I researched the problem for hours and it turned out the user had a Radeon graphics card that needed a driver update.

Original thread: https://forums.rpgmakerweb.com/threads/any-plugins-known-to-cause-soft-locks-freeze-the-game.113370/