Error when running "test"

Good day!
After a long time, I've discovered that if you right-click on any line in the event, there's a "test" button.I really want to check it out, but I get this error. The error is the same regardless of the event or line. Does anyone have any thoughts on the reason?
Without seeing the full error trace from the console (said F8) we can only give some general information.

1) Like the battletest in the database, the event test works by partially loading the game and then trying to shortcut to the event to run it.
And like with the battletest, there are some plugins that have problems with that, simply because they assume and require the entire engine to be loaded without shortcuts.
This is most likely from a plugin that modifies event behaviour, but without the error trace we can't say which one.

2) all errors "of undefined" mean that the engine was given a reference to a dataobject that does not exist.
In this case that is likely because the game wasn't completely loaded for the test, but other causes can happen by loading old and incompatible saves or having plugins with a wrong configuration pointing to non-exisent data or several plugin incompatibilities.
Here's what it says:1111133.png
But when I run a normal "Playtest" this error persists, but the game launches without problems:
11112.png
Here's what it says:View attachment 282251
But when I run a normal "Playtest" this error persists, but the game launches without problems:
View attachment 282252
That's not an error, but a warning that's unrelated to our bug. See what happens if you trigger the bug then open the console for us to see
as mentioned above, those are warnings that have nothing to do with the error.

it seems that the event-test even skips the regular error handler procedure somehow

sorry, but without any hint of the full error message I can't really help here.
See what happens if you trigger the bug then open the console for us to see

it seems that the event-test even skips the regular error handler procedure somehow
Hmm, how can I trigger this error?
the only thing I know about those "test" mostly works for text based only,
show picture, movie stuff has to be done inside the test play to function.

that is my experience though, but I'm unable to test pictures/movie as they
wont really show.

can you make a test event with just some random text?
I had a similar issue with MZ. Maybe it can help you here.
It was caused by a custom json file in my data folder. (let's call it "something.json" ).
During the "test" the engine tried to open a json file "Test_something.json" that does not exist, causing an error, until I created it, with an empty array inside.
So my question is, do you have a non-standard json files in your data folder?
the only thing I know about those "test" mostly works for text based only,
show picture, movie stuff has to be done inside the test play to function.

that is my experience though, but I'm unable to test pictures/movie as they
wont really show.

can you make a test event with just some random text?
Has this feature always been there? So it's just for text... I just started dreaming that it would help me with game testing. Anyway, I created a simple event with text, and the error still occurs 🙁
So my question is, do you have a non-standard json files in your data folder?
I can't say for sure, but I don't seem to have noticed anything like that.
1111133.png
I've discovered that if you right-click on any line in the event, there's a "test" button.I really want to check it out, but I get this error. The error is the same regardless of the event or line.
Hmm, how can I trigger this error?
I am confused. To "trigger" an error just means to make it happen. You say it happens, reliably, when using Event Test from the editor. After the error happens, you can press F8 (or F12 if that fails) to open the dev tools window and check the Console tab for any red text (error messages).

I can't say for sure, but I don't seem to have noticed anything like that.
The files Windows.json, DataEX.json and Notes.json are all non-standard. Like @TG22 suggests, try creating 3 new files: Test_Windows.json, Test_DataEX.json, Test_Notes.json. In all of these files, put a single line: [].
What version of MV are you using? If you open rpg_core.js with a text editor, what version number does it say at the top?

I've never seen that getImageData warning before.
I am confused. To "trigger" an error just means to make it happen. You say it happens, reliably, when using Event Test from the editor. After the error happens, you can press F8 (or F12 if that fails) to open the dev tools window and check the Console tab for any red text (error messages).
Sorry, perhaps there was a misunderstanding. Above I posted a screenshot of the error. That is, when I press "Test" on any of the event lines, the game starts and an error message pops up. After that, I press F8, and in the "console" section, this message appears:
1111133 (2).png
If you click on it, this window expands:
111113333.png

The files Windows.json, DataEX.json and Notes.json are all non-standard. Like @TG22 suggests, try creating 3 new files: Test_Windows.json, Test_DataEX.json, Test_Notes.json. In all of these files, put a single line: [].
This didn't help. 🙁

What version of MV are you using? If you open rpg_core.js with a text editor, what version number does it say at the top?
MV version 1.6.3. rpg_core.js v1.6.2
OK, some ideas:
  1. Can you share screenshot(s) of your Plugin Manager, showing all plugins you are using? I notice the in-game error has "Press F8 for more information", which may be good advice, but it is not there by default.

  2. If you are using plugins, try turning them all off, save your project to apply Plugin Manager changes, then test again. Does the error happen with all plugins turned off?

  3. If you have edited your project's core scripts, please revert the edits by following the instructions in this post, under Updating your Projects:

I've never seen that getImageData warning before.
I think it's related to a newer NWJS version. I saw it in MZ, following the v1.6.0 NWJS upgrade (reverted in v1.6.1 due to bug reports): SteamDB RMMZ patch note list. I assume the OP has manually updated their playtest environment.
I run NWJS 4.8.4 with pixi 4.x.x (which I need to check) as it was default
for MZ version, and no errors like that.

if there is something that cause errors above 5.x.x than it would be
something I dont know.

Has this feature always been there?
I dont know when it was implemented as I start using MV on 1.6.1, so I dont know
when it existed, maybe from the start or after 1.4.x, I cannot really tell though.
Can you share screenshot(s) of your Plugin Manager, showing all plugins you are using? I notice the in-game error has "Press F8 for more information", which may be good advice, but it is not there by default.

111111111111111111134234.png

If you are using plugins, try turning them all off, save your project to apply Plugin Manager changes, then test again. Does the error happen with all plugins turned off?
The test starts working when I disable the "GALV_LayerGraphics" and "QPlus" plugins. When I only disable "GALV_LayerGraphics," such an error appears:
111111111111111111.png
But the error in the console is the same...
It seems to me that whatever is creating that "For more information" message is somehow screwing with the default developer's tools and preventing the actual error trace from being generated/shown.

Is it from the Super Tools Engine?

Similarly, that latest error is clearly that the Galv Layers is trying to load tilemap properties even in the event test mode; so that plugin may be incompatible with using the event test without editing.
It seems to me that whatever is creating that "For more information" message is somehow screwing with the default developer's tools and preventing the actual error trace from being generated/shown.
By the way, when I only disable the "Qplus" plugin, the error looks like this:
12312344.png
It seems that this is not easy to fix?
I dont know when it was implemented as I start using MV on 1.6.1, so I dont know
when it existed, maybe from the start or after 1.4.x, I cannot really tell though.
I've become very interested because once I created a topic about long cutscenes (https://forums.rpgmakerweb.com/index.php?threads/testing-a-long-cutscene.134141/#post-1168981). Back then, nobody mentioned such a feature, so I thought it was new. I did some testing, and it seems it could be useful for me. My animations in the game are made using a plugin and the "Move Routes" feature. Move Routes seem to work in this function, but only for the player, which is also cool. Unfortunately, in my case, I will have to keep disabling 2 key plugins. 🙁
All of these different errors are not useful if you can't produce the error trace in your Console.

You're saying even in that last case, if you press F8 you don't get the developer tools to go to the Console tab?

Without that, we can't give you any clue as to which plugin is causing it or what piece of code is having the problem...you can only turn every single plugin in your project off and on and try to figure it out.
Here is one that doesn't like show choices.
1699026720343.png

@fugahagen Please do not hijack someone else's thread with your own errors. If you need help, please make your own thread.

Original thread: https://forums.rpgmakerweb.com/threads/error-when-running-test.162594/