MZ Syntax error when starting the game

Hi there,

I manged to make an AAB bundle, ready to upload on Google Play. However, after I let some people play test the game, they're not even able to start due to a syntax error.



Anyone wise enough, what I can do? What information do you need?
Do you get this error when you test play?
Hello Shaz,

Thanks for your message.

Oh, first I thought I don't have VisuStella, but it seems like I do?
1628502999259.png


When playing by myself, it's working fine.

Used this tutorial for making an AAB file https://hackmd.io/@Mirai/RPGMakerMVMZ-Android_eng#◆-Step-1
"Syntax error" is basically the computer equivalent of saying "you have a typo because what you have written makes no sense".
"unexpected token" means that the dot was not expected at that moment because the structure od the last commands is wrong (similar to a grammar error when writing).

If that doesn't happen on your own playtest, but does happen after deployment, then most likely one of your datafiles was damaged during deployment. A second possibility is a wrong step during deployment that changed a file or missed a file.

In all cases I suggest your first step should be to try again from zero (deployment to a new output directory) to make sure it isn't something as simple as a random file error on yur first try.
Just make sure that everything goes into new folders because you don't know when such a file might have occurred.
Thanks for your idea, I re-deployed a new version from scratch and this is, what is happening now.

So what is supposed to be happening there? What happens when you play it on PC?

One of the tricky things about mobile deployment is that not all effects/plugins/etc. work properly on mobile platforms.
Well, as I can see on the video, the title screen appears and the next thing would be to start a new game. Then a blank white screen is appearing now.

When I play the game on the computer, then it's working fine, the game is starting without any problems.

I really don't use many plugins as you can see, so that's why I'm a bit confused. Also there are no error messages right now, which makes it even harder to debug.

Original thread: https://forums.rpgmakerweb.com/threads/syntax-error-when-starting-the-game.139405/