Unable to test event: TypeError: Cannot read property 'custom'

Almost every time I attempt to test an event through the event window (Ctrl+R), this error message pops up. Seems to be related to the SRD_TranslationEngine plugin, as it indicates. It only shows when, in game, the secondary langauge is selected in the options. I only have this error while testing, not when running the game normally.

The most frustrating part is that sometimes I have to refresh the game up to 30 times before I can successfully test the event.

I'm using the Steam version on Windows 11, if that matters.

Console.png
Error.png
For one thing, check that you're using the latest version of any Yanfly plugins - there should be no code on line 1094.

But, then, I also don't have any code in the Translation Engine line 723, and line 1620 isn't the updateDocumentTitle() function.

So something is seriously screwy with your project and its error trace.
I only have this error while testing, not when running the game normally.
event test, like the database battle test, uses shortcuts to get to the point where the event can be tested. And those shortcuts can cause problems with plugins that expect a fully loaded game engine.

so please clarify:
does the error happen if you start a playtest, select new game and then go to the event to trigger it?
or does it only happen when in the editor you right-click on an event command and select test there?
It only occurs when testing with Ctrl+R/right-click on an event command inside the event editor window, and testing battles in the database. SRD Tranlastion Plugin allows you to select a second language in the options menu, so the error message only appears if this second language is selected during the playtesting.
1730879764090.png

But if I playtest the entire game using the green button, everything works perfectly.
But if I playtest the entire game using the green button, everything works perfectly.
then this is what you have to do.

some of your plugins require that entire game engine to be initialized correctly, and your only choices are to remove those plugins or to keep testing in full game.

Most people create a cheat event on the first map to allow them to boost the party and jump to the partt of the game they want to test.

Original thread: https://forums.rpgmakerweb.com/threads/unable-to-test-event-typeerror-cannot-read-property-custom.173057/