State messages keep changing themselves to %1%2

This happens to my states and maybe my skills now that I'm thinking of it, where %2 finds its way into the messages box after I save the database and come back to it later.

Here's an example of the problem:
I set a skill to cause a state called Doubt to say "%1 is feeling doubt!" but when I come back to the state later, it's changed itself to "%1%2 is feeling doubt!" and I don't realize what's happened sometimes until I'm testing combat and see it in the messages.

Here's a screenshot of the issue:
rpgmaker_error.PNG


You guys ever encountered this before? Anything I might try, to get around it? Sometimes I delete this extraneous %2 but it comes back later!

Thanks in advance.
-hatesec
That sonds as if a program is manipulating the json files directly.

%1 and %2 are placeholders used in some terms in the database terms page but should not be used in the state messages. However there is an hidden internal placeholder at exactly that position.
So I can easily see that happening when for example a translation program/plugin or something like that reads and messes up the json files due to wrong configuration or incompatibilities
I just checked and I am seeing the same %2 in one custom state that I created in my project... never noticed this before to be honest. AFAIK, only %1 is ever used for state messages so I'm not sure how this happens. I don't have any plugins that write json files, either. Will try to reproduce the issue but so far all I can say is:

You guys ever encountered this before?
I just did... and am confused.
Yea, I've only ever seen this in MZ, but I don't know the cause.

When I first encountered it, I wondered if it was something like the tileset bug: some values not getting initialised correctly on new records. I tried various combinations of creating new states, editing them, exiting database, saving the project, closing the editor, etc. Didn't spot a pattern, though, so I gave up on it pretty quickly. 😴
I am not using any .json plugins, either. It's just happening! To us!
Does it get expressed literally in playtest?
It does -_-

Original thread: https://forums.rpgmakerweb.com/threads/state-messages-keep-changing-themselves-to-1-2.160618/