Random Freezing Issues in RPG Maker MV (Performance Problem)

Hello everyone,​


I'm developing a game with RPG Maker MV, and as the game progresses, I've started experiencing occasional small freezes during gameplay. Here's what I've tried so far:
  • I enlarged the map, but only to a necessary size.
  • I reduced parallel events as much as possible.
  • I'm using 19 different plugins, all of which are essential for my game’s mechanics.
I suspect the freezes might be caused by some of the plugins, but I can't figure out which ones are causing the problem. Reducing the number of plugins isn't an option because all of them are useful for my game.

My questions:
  1. How can I determine if plugins are conflicting or causing performance issues?
  2. I've reduced parallel events, but there are still many events (non-parallel). Can these also affect performance?
  3. Is there a better and practical way to improve performance?
I’d appreciate any advice or suggestions. Thanks in advance!
Likely has to do with the default coding of pixi's garbage collection.

You can try this: https://aceofaces.itch.io/rmmv-tuned-core
It's not the number of parallel processes that count, but their quality.

One badly designed parallel process event can cause more lag than a hundred correctly designed ones.

Basically each parallel process needs the correct number of waitframes - the wait command basically tells the engine "skip this event for x frames" - which causes a pause in an action button event, but reduces processing and lag in a parallel process.

unfortunately the correct number is different depending on the other PP in the game - not enough and it still creates lag, too much and the game's reaction (instead of processing) is slowed.

How can I determine if plugins are conflicting
Basically only by experience.

So the best way is to post a screenshot of your plugin manager and allow the community with their greater experience to check if there is anything wrong.
There are a lot of quirks in plug-ins that are known to us, but rarely are known by new users who never read much here.
For example, with yanfly's plug-ins their order is extremely critical - have more than a few in the wrong order and they will have extremely strange results.

many events (non-parallel). Can these also affect performance?
not in any detectable measure, not on modern computers.

ten, twenty years ago that was different, but even then you needed multiple hundreds of events on a single map before it became detectable.
Likely has to do with the default coding of pixi's garbage collection.

You can try this: https://aceofaces.itch.io/rmmv-tuned-core
thank you I will try this and write about my experience
It's not the number of parallel processes that count, but their quality.

One badly designed parallel process event can cause more lag than a hundred correctly designed ones.

Basically each parallel process needs the correct number of waitframes - the wait command basically tells the engine "skip this event for x frames" - which causes a pause in an action button event, but reduces processing and lag in a parallel process.

unfortunately the correct number is different depending on the other PP in the game - not enough and it still creates lag, too much and the game's reaction (instead of processing) is slowed.


Basically only by experience.

So the best way is to post a screenshot of your plugin manager and allow the community with their greater experience to check if there is anything wrong.
There are a lot of quirks in plug-ins that are known to us, but rarely are known by new users who never read much here.
For example, with yanfly's plug-ins their order is extremely critical - have more than a few in the wrong order and they will have extremely strange results.


not in any detectable measure, not on modern computers.

ten, twenty years ago that was different, but even then you needed multiple hundreds of events on a single map before it became detectable.
i understand thank you for your long reply. do you think there is a problem about the ranking looking here?
Ekran görüntüsü 2025-04-04 153724.png
Likely has to do with the default coding of pixi's garbage collection.

You can try this: https://aceofaces.itch.io/rmmv-tuned-core
I didn't find it to be of much use. is there an alternative solution?
I had this issue too.

I was told it was a glitch where a counter goes into the negative or something which causes the game to lock up.

When your game locks up, can you still hear the music and can hear when you go into a menu or something?
I don't think they are the same thing. The OP says small freeze.


I think you can make a test map which lags.
Then you remove the plugins one by one, from the HUD and on-screen display elements like event indicators, event shadows to item slots. If it still lags then it might be related to map size and event count.
I had this issue too.

I was told it was a glitch where a counter goes into the negative or something which causes the game to lock up.

When your game locks up, can you still hear the music and can hear when you go into a menu or something?
My game doesn’t completely lock up, but it experiences frequent small freezes instead. The music continues to play, and I can still access menus during these freezes. It’s more like brief stutters rather than a full game crash. Any idea what could be causing this?
I don't think they are the same thing. The OP says small freeze.


I think you can make a test map which lags.
Then you remove the plugins one by one, from the HUD and on-screen display elements like event indicators, event shadows to item slots. If it still lags then it might be related to map size and event count.
I see, that makes sense. I tried disabling plugins one by one and noticed that the small freezes stopped when I removed certain plugins related to HUD and on-screen displays. However, I need to use these plugins for my game.

Is there a way to keep them active without causing performance issues? Any tips for optimizing or configuring these plugins to reduce lag would be really helpful.
Do you test it on an old PC?
If not which plugin exactly causes the lag? Maybe I can take a look at it to see if it can be optimized in any way.
Do you test it on an old PC?
If not which plugin exactly causes the lag? Maybe I can take a look at it to see if it can be optimized in any way.
I’m not sure which plugin is causing the lag yet. I’ve tested by disabling some plugins related to HUD and on-screen displays, but I haven’t pinpointed the exact one.

If you’re willing to take a look, I’d really appreciate it! Let me know what information you need from me to help identify the issue.
Do you test it on an old PC?
If not which plugin exactly causes the lag? Maybe I can take a look at it to see if it can be optimized in any way.
I’m testing it on a PC that isn’t particularly powerful but should be more than capable of handling a game like this. It’s not high-end, but it’s definitely not so weak that it should struggle with RPG Maker MV.
It is best you can narrow it down to one or two plugins.
Are we talking about the farm simulator game you posted in another thread?
I see you use mog variable hud to display money and gems, also mkr map item slots at the bottom.
Are they related to the lags?
It is best you can narrow it down to one or two plugins.
Are we talking about the farm simulator game you posted in another thread?
I see you use mog variable hud to display money and gems, also mkr map item slots at the bottom.
Are they related to the lags?
Yes, it’s the farm simulator game I mentioned before. You’re right, I’m using MOG Variable HUD for displaying money and gems, and MKR Map Item Slots at the bottom.

I tried disabling those plugins, and it does seem to reduce the lag a bit, but I really need them for the game’s functionality and UI. Since all of the plugins I’m using are important, I’m not sure how to narrow it down to just one or two.

Do you have any suggestions for optimizing these plugins or making them work more efficiently without causing lag?
I don't know how serious the lag is. But in theory if you update the hud it will refresh and may cause some lag. But usually the pc is fast enough to handle. I tried them on my pc and doesn't see much slow down.
The maybe you can try not to update the numbers every frame?
I don't know how serious the lag is. But in theory if you update the hud it will refresh and may cause some lag. But usually the pc is fast enough to handle. I tried them on my pc and doesn't see much slow down.
The maybe you can try not to update the numbers every frame?
Thanks for the suggestion! The lag I’m experiencing isn’t too serious—more like small stutters every few seconds. I think you're right that constantly updating the HUD every frame might be causing it.

When you say “try not to update the numbers every frame,” how exactly can I do that? Is there a setting in the plugin, or would I need to modify the code directly? I’d appreciate a bit more guidance on that!
I haven't read Mog's code thoroughly but I think it refresh the HUD when the variable changes.
So if you chage the number frequently, it will need to refresh frequently.
You can for example update the money every few loops to see if it is faster.
I haven't read Mog's code thoroughly but I think it refresh the HUD when the variable changes.
So if you chage the number frequently, it will need to refresh frequently.
You can for example update the money every few loops to see if it is faster.
Yeah, I was thinking the same thing, but if I update the loop less frequently, wouldn’t that make it seem like the money is added with a delay on the top HUD? I mean, if the player receives money but doesn't immediately see it reflected in the display, it might look like there's a lag, which could affect the user experience a bit.
The game runs 60 fps so 6 frames delay is 0.1 second. Maybe not too long too be visible.
But we are still not sure if the HUD is the cause, so you can do some test, for example ,stop change money and gems count for a while to see if makes any difference.

Original thread: https://forums.rpgmakerweb.com/threads/random-freezing-issues-in-rpg-maker-mv-performance-problem.176740/