Game Freezing??

So, this is a thing that I've been experiencing lately. I've had it happen about...I'd say 6-7 times now in the past few days of just testing battles in my debug room, where when testing the game will just freeze for no reason (and once leaving it alone for some amount of time also freezes it). Is this a known issue with RPG Maker MV?? And if so, is there a way to fix it? From what research I've done, it may be related to FPS? Does this mean if it hits 0 FPS, it'll never unfreeze or...??
What are your current plugins? Some plugins may cause this due to sprites and pictures (may, before someone hangs me)
d146bd376af888fc5c440ae0a4eff8ea.png

dfe58540e901a6c76cecfd35654be860.png
A basic rundown may be that your YEP plugins are all mixed up. Try and follow the order that's here: http://www.yanfly.moe/wiki/Category:Yanfly_Engine_Plugin

Have you modified anything of the base code?

Try a project without any plugins. This may help to debug if it's a plugin that's causing the freezing, or if it's an entirely different issue.
It looks like the YEP plugins are in the right order. As for anything of the base code...I don't think I have? At least, not anything that the plugins wouldn't handle.
A freeze is not a crash.

See if the thing in my signature fixes it for you.
I suggest the no plugin approach, in a new project, just to see if plugins are out of the question.
From what research I've done, it may be related to FPS?
That seems...unlikely. Frames per second has to do with the ability of your processor/graphics processor to perform the operations being required within one 60th of a second.

Freezing is typically because a code error is causing an infinite loop or a bug is causing the graphics to actually not refresh.

I Googled the question and found this thread from a few years ago - post #12 was able to reproduce the error and has a description/link of a fix.

You can try that.

A basic rundown may be that your YEP plugins are all mixed up. Try and follow the order that's here: http://www.yanfly.moe/wiki/Category:Yanfly_Engine_Plugin
They are? Which ones?

Also, that link doesn't work, I think you mean
TheAM-Dol: In your sig, would it be the GraphicsRenderFix.js plugin you have there?

Erif: I'd be surprise if it was a plugin issue, since wouldn't others that use YEP plugins have this issue?

ATT_Turan: Is it referring to the Community core version in that link?I did buy this back in November on Steam, so it should be the most recent version of the game, I'd imagine.
They are? Which ones?
I saw an SRD plugin in the middle on them, my mistake.

@Xenomic A few months ago i had a similar issue and it was a Skill Tree plugin that was causing it.
Skill Tree plugin huh...so the SRD Skill Extender plugin might be the culprit? If so, that might be...troublesome. I don't remember if Yanfly had something that's like this or not to use instead. The odd thing is, it's not 100% all the time, it's completely random as to when it decides to hang. And right now, only one character uses the Skill Extender plugin so I don't have the skills clogging up her skillset. Hmm...should I stop using it??
@Xenomic not exactly. It's what caused it for me, doesn't mean it's causing it to you. That's why we're trying to diagnose it.
Did you happen to use most/all of these plugins that I'm using with it??

On that note, I've been having my current testrun running for about 20 some minutes and no hanging so far. It's ONLY during battles too that it happens too, interestingly enough (when I was testing some of my maps with no battles, I never had any freezes whatsoever).
Most YEP plugins, yes. Are any states left after a battle? I've noticed heavy slowdowns when some states that have code inside don't get erased after a battle. Do you have code on states?
Skill Tree plugin huh...so the SRD Skill Extender plugin might be the culprit?
I don't reasonably see how.

Hmm...should I stop using it??
I don't really understand. You've been given several technical explanations that include plugins to patch faulty behavior in the engine.

Have you tried them? I don't get why you're instead reaching to turn off random other plugins that wouldn't have anything to do with your problem - if the game is freezing while sitting there, or just during battle, then none of the code from the Skill Extender is being run, is it?
@Erif There aren't any outside of maybe Poison. There's some codes on states, yes, but those are only during battle with specific skills.

@ATT_Turan I have the one Dol talked about (the GraphicsRenderFix.js script one), and I'll see if that fixes it. If not, then I'll see about the one you posted. I'm assuming I just put the GraphicsRenderFix into the Plugin folder and then add it into game as normal, yes?

And yeah, you're probably right. Especially given that the character that uses the Skill Extender isn't even in the battle at all. It was just an idea in the event that it really is the cause (but as you mentioned, it shouldn't be if it's doing nothing).
I'm assuming I just put the GraphicsRenderFix into the Plugin folder and then add it into game as normal, yes?
Yes? I'm not sure what else you might do - I suppose you could try asking it out to dinner 😛

But did you read his linked post to see if it applies to you? Some of your responses here come across like you're simply grabbing at errant things people say instead of trying to thoughtfully troubleshoot and understand what's happening.

In either case, it can't hurt to install that, neither to make the change to Graphics.render() that Eli pointed out in the thread I linked you to.

If neither of those help, you can press F8 during play and go to the Console tab and see if there are any warnings that pop up before the game freezes.

Good luck!
If neither of those help, you can press F8 during play and go to the Console tab and see if there are any warnings that pop up before the game freezes.
@Xenomic This is what you should do now. It will help INMENSELY
@ATT_Turan I did actually. When it happens to me, the screen freezes and I can hear the music playing (though my SEs are turned off, so I don't know if it's actually playing sound effects lol). But if the music is playing, I'd assume the SEs are? I know that if I try to press F5, it doesn't restart the game like it should, just remembered that's a thing (I wouldn't know when to press it before the freeze happens since there's no indication. The last one I caught was when an enemy was casting a spell, which was just a normal spell, and then game was like "Nah, gonna freeze lol".

As for the other one that Eli pointed out, just did that as well as backed up the original just in case. But huh...that would make sense if that's the fault of the engine itself there with that very specific line! Thanks for your guy's help!! If I have anymore issues, I'll let you guys know in this thread! Thanks again, Magus! You've been helping me a lot lately and I appreciate it! ^^

Original thread: https://forums.rpgmakerweb.com/threads/game-freezing.165242/