Random freezes

Hello!
Some of my players, in random places are facing the problem of random freezes. They happen in random places and it is not clear why it happens. Reloading the game helps.
One of the players, said that maybe it is avarage RPGM command buffer overflow.
The game itself is on RPG Maker MV and a few hours of gameplay.

Tell me, have you encountered something like this in your practice? How did you solve the problem?
Does the music still run?

Check your unused common events and see if one is set to autorun, with a switch. If so, set the trigger to "None".

if the common event is empty, and the switch turns on, it will run the command in a loop. Even though nothing is happening, the player still needs to wait till it is done running, which is never, because it loops.

Reloading helps, because the switch was off when they saved. But as soon as they do what they did before that turned the switch on, it will freeze again.

Can't say for sure this is the problem, but it is the most likely scenario I can think of. It could also be a normal autorun event, but I don't think it is, since you say it can happen on different maps.
Yes, the music continues to play, in case of launching on the mobile app (there I added control buttons and menu call buttons using the plugin) you can call the menu. But you can't move from your seat

Thanks for the idea, with autorun. I will double-check all global events
avarage RPGM command buffer overflow.
I have no idea what that's even supposed to mean. It's certainly not average or something that applies generally to RPG Maker games.

If the game freezes but you can't move, typically you either have an Autorun event going that you haven't turned off, or you have a move route that can't be completed.
Or, your character is stuck on a tile that is not passable. You say it happens on a chair? Is that chair passable? Check your tileset.

Edit, If this is the case, the player would still move around.

If you can open the menu, it is probably not an autorun event, though. I dont believe you can open those when the event is running.
I for my shorter experience know only about the event on autorun.

But, I would approach this as a regular tester. Isolate a test case. Try to reproduce it. Observe and take notes. Learn more about when and under which conditions it happens. Unfortunately this takes time and tries.

Then ask yourself:
Do you have any events set to autorun under some condition there?
Do you have there some your JS script running there which could run on infinite loop?
What the occurences have in common?

Answer truthfully.

Maybe this?
Thank you so much for your advices!
I checked all global events, autorun is not there, only parallel.

@utunnels, many special thanks to you. From the description it seems that is exactly what is happening. I have built this script into the project, let's see what happens
Thank you so much for your advices!
I checked all global events, autorun is not there, only parallel.

@utunnels, many special thanks to you. From the description it seems that is exactly what is happening. I have built this script into the project, let's see what happens
You're welcome.:LZSlol:

Original thread: https://forums.rpgmakerweb.com/threads/random-freezes.170056/