Player Movement error

Hello, this happened out of nowhere and I have no idea what caused it.
Whenever I try to move my character around, this error message would pop up.
As a side note, I'm using Galv's region effects.
error msg.PNG
It is a very strange line to have this error on. So I've got a few questions for you.


Did this only happen after adding Galv's script? (FWIW I don't think it's actually related to that script, but maybe ...)
Is there a region id painted where you're trying to move your character? Are you expecting Galv's script to actually do anything (other than throwing an error)?
If Galv's script is disabled (which you can do by moving it below Main), does the problem still happen? If it doesn't, how do you have this script set up - what are you telling it to do?

Do you have any other scripts?
Are all your scripts in the correct location (under the Materials section, where it says Insert Here)?
Have you made any manual changes to any scripts yourself?

When you get that error, end the test play and back in the editor hit F11. It should take you straight to that line. Please get a screenshot there so we can see what your Game_Event Initialize method looks like.

I suspect, if you haven't changed it yourself, that there may be a script that isn't passing the correct arguments through to here. You don't happen to have any event cloning or spawning script, do you?

Original thread: https://forums.rpgmakerweb.com/threads/player-movement-error.130818/