NPCs won't move

I have come across something weird...not all of my NPCs will move or they do, but some of them only take one step, despite the events are the same just different sprite sheets. I can't see what the cause is...
There are two sprites that walk around fine and two that only takes one step and then stops. There's nothing in front of them to make them stop.
All events are just set as random movement. There are nothing else in them.

The first picture is the event that moves without any problems.

The second takes one step and then stops moving.

There are no difference between them. Has anyone tried this before?

I have tried to copy the event that's working fine and changed the sprite sheet. It worked on one, but the one on the picture still won't walk.

Spoiler: Moves fine
uaLXR7i.png


Spoiler: Won't move
dC4KqJP.png
Are you using any plugins that interfere with the movement? Or anyone like yanfly restricts regions?
Did you try on a different map and see if the error persists?
@Eliaquim - Sorry about the late reply. I do have Yanfly's Restricts Regions, but I don't have other plugins that should interfere in movement. I have tried to put it on a different map and it works there. So I created a map and made the map all over again, it works now. Not sure what was the problem.
If you still have the original map, see if the player can walk in those areas. You may have erased stuff but used the wrong tile to do it. The top left tile in the B tab is the only tile you should use to erase. If you use any other tile, even though there might be no sprite on it, there are still passage settings, and if that setting is X, nobody will be able to walk there.
@Shaz - I do have it and I haven't' erased stuff using a blank tile. I even tried to move the event to other places on the map, especially where the other ones where that did walk fine, but didn't help.
I don't like things that misbehave for no apparent reason, then behave again for no apparent reason. There is always a reason, and it makes me think there is something there that could rear its ugly head again down the track. And you don't want to be creating new maps and moving all your events every time it happens - you've got no guarantee that it will keep working for any length of time.

The problem is no longer happening after you created a new map, so you could be happy with that and leave it there. If that's what you want, just report your first post and let the mods know and they'll close the thread for you.

But if you would like to figure out why it was happening on the other map, and get to the bottom of it so you can be sure it won't happen again, some more investigation will be needed. In that case, the easiest thing might be for you to zip up your project, load it up online somewhere, and send me a download link. Put the player's starting position on the problem map and let me know which ones are the events that won't move. This way, I can do some debugging, check out your plugins, and generally troubleshoot at a low level, without having to go back and forth getting you to try things and waiting for results.
@Shaz - After looking through everything, I finally found the issue. I apparently had a event with some movement on. I deleted it and it now works as it should. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/npcs-wont-move.114408/