Help, switches keep freezing game.

I am working with rpg maker mv on my Mac, and when I try to playtest my game activating a switch, any switch at all, freezes the game. I can't move, can't do anything.

A lot of places suggested that something was auto-running, but I can't find what it is.

I deleted all my common events, and went to a map that didn't have any events on it. Then I set up three actors who each would turn on a different switch, wait three seconds, and turn the switch off. Every time I turned on a switch the game would freeze for those three seconds, and then unfreeze once the switch was turned off. These switches had nothing that should've set off a common event.

I even up three new switches that would do nothing when switched on, and each one froze the game when I turned them on, and it would still unfreeze the game when turned off. I can't figure out what's going on, but I'm freaking out because my game is now unplayable.
I know you said you deleted your common events, but I've seen posts here before where people thought they deleted common events when they really just cleared the titles/names without actually deleting the code itself.


Can you shows us screenshots of your Common Events/Event Switch tiles?
I know you said you deleted your common events, but I've seen posts here before where people thought they deleted common events when they really just cleared the titles/names without actually deleting the code itself.


Can you shows us screenshots of your Common Events/Event Switch tiles?
7E1D114F-28FD-4DB3-B450-1BB378F03DB2.jpeg

This is really all that's left. But even so none of the common events are on autorun, and even so why should new switches with no commands set off the freeze?
This is really all that's left.
And you have manually checked if everyone of the seventy common events is not on autorun?
because that's about the number of CE's you have based on the scroll-line.

if there really is nothing in those events, then you can set the maximum to one common event (instead of seventy or so), removing everything else and test again.

That said, you could also have one of the plugins that freeze the game on switch (either intentionally or due to wrong configuration), or the effect can have nothing to do with the switches and is caused by something else.
as a result, can you tell us how exactly you test with the switch? Beginning with the playtest button.
another could be one of your events on the map (like a cutscene), which
has an autorun effect, SS on but no page 2 to stop the autorun effect.

as there can be a couple of reason like Andar said, you need to look carefully.
as we need much more info to figure out why it freezes and where.

if you use any plugins, show us the plugin database, + maybe the parameter
that run on boot etc.
I deleted all my common events, and went to a map that didn't have any events on it. Then I set up three actors who each would turn on a different switch, wait three seconds, and turn the switch off. Every time I turned on a switch the game would freeze for those three seconds, and then unfreeze once the switch was turned off.
What does this event on the map with the switches look like? What you're describing sounds perfectly expected - if all of that stuff is on one event page, it will prevent the player from doing anything ("freeze" the game) until the event is finished running.

The only way that doesn't happen is if it's a parallel event.
And you have manually checked if everyone of the seventy common events is not on autorun?
because that's about the number of CE's you have based on the scroll-line.

if there really is nothing in those events, then you can set the maximum to one common event (instead of seventy or so), removing everything else and test again.

That said, you could also have one of the plugins that freeze the game on switch (either intentionally or due to wrong configuration), or the effect can have nothing to do with the switches and is caused by something else.
as a result, can you tell us how exactly you test with the switch? Beginning with the playtest button.
So I didn’t fill in everyone of those with a CE, I just expanded it in case I needed, didn’t think it would matter. I’ll reduce it to 1.

I tried turning off plugins and playing, it still froze.

I tried testing by creating a simple map without any events and making the game start there. Then I created three actors. Each one would turn on a separate switch when the action button was pressed, wait three seconds, then turn the switch off. Then I made them all turn on new switches that had no commands at all.

Then I pressed the play test button, started a new game, and was taken to the empty map with the three actors. I clicked on each actor, and they froze the game every time until the three seconds were up.

So as far as I can tell flipping any switch, new ones, old ones, empty ones, freezes the game until they’re switched off
please show us the screenshots of those events.
because your latest description sounds like regular action button wait behaviour and not a problem, which means you're doing the events wrong if you want something else.
What does this event on the map with the switches look like? What you're describing sounds perfectly expected - if all of that stuff is on one event page, it will prevent the player from doing anything ("freeze" the game) until the event is finished running.

The only way that doesn't happen is if it's a parallel event.
You're right, that was a stupid way to test this problem.
please show us the screenshots of those events.
because your latest description sounds like regular action button wait behaviour and not a problem, which means you're doing the events wrong if you want something else.
Yeah, I'm just going to re-do the opening scene, I kinda think I was being stupid and panicking earlier.
You're right, that was a stupid way to test this problem.
Good luck with your project.

Just as a side note, we're not supposed to post twice in a row. If you want to reply to multiple people, you can simply click Reply on multiple posts (or use the +Quote buttons, or @tag their handles).

Original thread: https://forums.rpgmakerweb.com/threads/help-switches-keep-freezing-game.152504/