MZ Yet another nonsensical error msg

Any clues? The player also did NOT get it anymore when they reloaded and tried again (doing exactly the same thing).

20220601_224632.jpg
A plugin about window size is not compatible with your current MZ version.
That or some files were not generated, or maybe it just loaded too fast and missed some pointers. Thats one problem that may happen with promises without await.
maybe it just loaded too fast and missed some pointers

It can do that??

To be honest the error message didn't show up the second time, although the player did nothing new.
And I also never got it in several playthroughs. And the error message apparently pops up during an event where nothing special happens.
So I'm willing to take it's a screw up from MZ but I'd prefer it never happens at all.
@Indinera that happens sometimes in MV too with or without plugin,
but also very rarely, untill you press F5 and it's gone.

probably untill you boot the game again.

of "null" or "undefined" is that some data is missing or removed.
so it couldn't check it anymore as it will check for it.

if this is inside a parameter or elsewhere, you need to make sure this
is correct or make something to delay the game by preload the
resolutions available.

for example, if you game have options for 800x600, 920x1020,
1080x1440 for example and it starts on 1080x1440, it missing
the first 2 on boot if not preloaded (this is only a guess).

as the resolution is not accurate/48 it is only samples.
if it has only 1 resolution to play with, than I dont know.
It uses 816x624 as shown in System 2.
Then as far as I know nothing ever touches resolution again.
In the specific event where the error message popped up, there is no plugin call at all, and nothing special happening, just dialogues and a Wait 60 frames at the beginning :dizzy:
Yeah, that is a thing that happens, the thread in charge to read the content of a variable reaching this point before another thread who was meant to write this variable gets to it. RPG Maker MV and MZ both run on js, which have promises, often in their code for example, to say "Hey, read this file while I do other stuff so the player doesn't get bored in a loading screen for too long". So if the thread that was asked to read didn't finish reading, but the one who asked for it (or any other) now asks for what did the file say, no one still finished reading it so that kind of error appears.

In this case, it says "resolution", and since we don't have any more clues, we'd usually guess it's game window size, but it could also be browser size or device screen resolution. If you changed any of these, some core scripts are re-read, if the earlier explanation happens, you get this screen.

So now you know what you need to try to replicate it. Just change the resolutions or window sizes a few times on that event.
You will most likely not get it yourself, though, your player was the one who had the loading issue.

Original thread: https://forums.rpgmakerweb.com/threads/yet-another-nonsensical-error-msg.148150/