I recently switched to the VisuStella free plugins, and when I activated the battlecore plugin everythign was going well, but recently, when I tried to test a battle, it gives me the error in the title, I tried deactivating all plugins but that just changes the error to "TypeError Cannot read property 'width' of undefined", what can I do
"TypeError Cannot read property 'height' of undefined" error when starting battle
RPG Maker MZ SupportWhen you're asking for help with a crash, you need to press F8, go to the Console tab, and post a screenshot of the full error trace.
As a general tip, "of undefined" means something doesn't exist. In a battle, that most likely means your database entry for a troop has an enemy that you changed or deleted. Try emptying the troop then adding the enemies back in.
As a general tip, "of undefined" means something doesn't exist. In a battle, that most likely means your database entry for a troop has an enemy that you changed or deleted. Try emptying the troop then adding the enemies back in.
oh that was probably the issue since I did that and it solved, tho I have no idea what could've caused it, as I haven't touched the troop nor the enemy I was using for testing, thank you! and I'll remember to post the console tab next time
Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-height-of-undefined-error-when-starting-battle.170720/