So Idk why but with only one Enemy it will say (Error can't read 'height' of undefined), I cant find a fix and I tried everything i can think of, from resizing the sprite too looking in code (Did not change anything) But idk what the game is trying to find as Undefined so I don't know what to fix. Everything else works but the enemy, So I assumed it was something to do with the sprite of it. I have a screenshot of the enemy incase the stats are what is causing it.
Help with an error
RPG Maker MV SupportWhat plugins are you using?
We're going to need more information.
Could you please show a screenshot of the crash. The console might help some others too, so if you could push f12 and take a screenshot of the window when the crash happens.
Are you using any plugins? If so, what plugins are you using?
Is this enemy part of a troop? If so, please take a screen shot of the troop.
For your own sanity, double check and compare your enemy and troops to enemies and troops that are working.
Could you please show a screenshot of the crash. The console might help some others too, so if you could push f12 and take a screenshot of the window when the crash happens.
Are you using any plugins? If so, what plugins are you using?
Is this enemy part of a troop? If so, please take a screen shot of the troop.
For your own sanity, double check and compare your enemy and troops to enemies and troops that are working.
You did not follow TheAM-Dol's instructions to take a screenshot of the Console tab. That's where the full error trace is.
But given how limited your plugin list is, it's either something configured improperly in that Change Battle Mode thing, or you messed with your troop. For example, if you made that troop with other enemies in it but deleted those enemies from the database, it could make something undefined.
Try posting a screenshot of the error and I suggest you remove everything from that troop (even if it's blank lines of enemies you can select) and add them back in.
But given how limited your plugin list is, it's either something configured improperly in that Change Battle Mode thing, or you messed with your troop. For example, if you made that troop with other enemies in it but deleted those enemies from the database, it could make something undefined.
Try posting a screenshot of the error and I suggest you remove everything from that troop (even if it's blank lines of enemies you can select) and add them back in.
Original thread: https://forums.rpgmakerweb.com/threads/help-with-an-error.152133/