TypeError "Cannot read property 'height' of undefined

Status
Not open for further replies.

BaigletheKid

Villager
Member
Joined
Oct 25, 2015
Messages
14
Reaction score
1
First Language
English
Clear the troop and add it again... tell me if it worx :)
This worked, I have been sailing smooth using this method. You have to delete the enemy and input it manually. For some reason in mv if you paste a new enemy over an old one it trips it out.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
Can you please try and reproduce this issue in a brand new project, with NO plugins? I would like to know if this is an MV bug.


If you are able to reproduce it, please give me the exact steps, including screenshots if necessary, so I can also reproduce it?
 

BrytonJSwan

Warper
Member
Joined
Dec 9, 2015
Messages
1
Reaction score
2
First Language
English
Hey I just thought I'd comment here and let y'all know that I had a essentially the exact same issue where a troop wouldn't work because of "TypeError: Cannot Read Property Height." This caused me extreme frustration until is was eventually solved. What I ended up discovering is that I had accidentally added in another enemy to the troop: an enemy for which I hadn't added a sprite. What I assume happened is that the game check to find both enemies heights for their sprites to know how to set up the battle and crashed because it was unable to find one of them (which seems like a huge oversight to be honest. You probably shouldn't be able to add enemies without sprites to a battle if it's just going to make it crash.) Hope that helps!
 

dhofari9

Villager
Member
Joined
Mar 7, 2014
Messages
16
Reaction score
1
First Language
arabic
it happen to me also when i change the enemy position ( bat pic ) far behind


before it was working .. but, when i put some yanfly plugin its creach
 

Zaen

Find Me on YouTube
Veteran
Joined
Nov 15, 2016
Messages
115
Reaction score
30
First Language
English
Primarily Uses
I am now having this exact same problem :(
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
You need to provide more detail (preferably in your own thread, as this one is ooooold).


Screenshots of the console, details of what version of MV you're using, whether you're playing a saved game or started a new game, whether you've upgraded your MV since creating this project and if you manually updated all of the default scripts and checked/updated all of your plugins as part of the upgrade process, what plugins you're using.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
I am now having this exact same problem :(


Np, you have the same error message but most probably not the same problem - because that error message is a message that can have dozens of different causes, which is why we need your specific screenshots.


And since it is another problem, you have to make your own topic about it instead of hijacking this topic.


Zaen, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.



Closing this
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 1, Guests: 1)

  • TSL

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top