MV ‘faceBreath’ undefined issue with mogs plugin!

Hi! I am using Mogs Battle HUD plugin, and it seems to be having an issue for one certain project of mine, it shows up as undefined, and I've been trying to fix this for hours by myself and haven't successfully done so. This only happens when I test this certain project. The plugin worked when I opened a new project! It isn't working with the game I am currently making. I really need help with this!
idfajif.png
big issue.png
did you start a new game?

adding or removing any more complex plugin will make older savefiles incompatible, so you'll always should start a new game on playtest after adding a new plugin.
That is because a lot of plugins only setup their data during new game and the older savefiles will be missing that data.


On a sidenot, it is important to read error messages correctly because "facebreath" is NOT undefined.
The error said that the engine cannot read a property OF undefined, which means the parent object to facebreath is undefined.

A better example: a picture on the screen always has some coordinates x and y. These are usually accessed as picture.x and picture.y
an error message "cannot read property x of undefined" would mean that picture is undefined and has nothing to do with the coordinates directly.
did you start a new game?

adding or removing any more complex plugin will make older savefiles incompatible, so you'll always should start a new game on playtest after adding a new plugin.
That is because a lot of plugins only setup their data during new game and the older savefiles will be missing that data.


On a sidenot, it is important to read error messages correctly because "facebreath" is NOT undefined.
The error said that the engine cannot read a property OF undefined, which means the parent object to facebreath is undefined.

A better example: a picture on the screen always has some coordinates x and y. These are usually accessed as picture.x and picture.y
an error message "cannot read property x of undefined" would mean that picture is undefined and has nothing to do with the coordinates directly.

Thank you, is there any way to transfer the work I've done into that game into a new one? The plugin did in fact work for a new game.
why should you do that?

I was talking about a new game (as in the button "new game" of the title screen of the playtest), NOT about a new project (as in hitting new project command in the editor).

so once again, does that error happen when you start a new game in playtest, or when you continue a saved game in playtest, or in both cases?
Depending on that answer there are different ways to find out where the error comes from.

the fact that a new project works means that it is something wrong in your current project that causes the problems, and copying that data will also copy the error.
Oh! It seems as starting a new game seemed to fix the problem. (I should’ve tried that before making a post Xd) Thank you.
as I explained in the first answer, if you add new plugins that it is often required to start new games to get the new plugins correctly initialized.

which is why a lot of developers place cheat events on the first map, that allow them to build up their party and teleport them to whereever they need to test - exactly so that they don't have to play through everything again and again.

Original thread: https://forums.rpgmakerweb.com/threads/facebreath-undefined-issue-with-mogs-plugin.173058/