Cannon read property "height" of undefined

Discussion in 'Javascript/Plugin Support' started by DryTEK, Jun 4, 2019.

  1. DryTEK

    DryTEK Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    Czech
    Primarily Uses:
    RMMV
    Hello,

    recently I tried out Yanfly's BattleEngineCore, AnimatedSVEnemies. Everything worked fine and without problem untill I tried to make enemy look like one of my NPCs by using <Sideview Battler: filename> command. At that point game crashes with error "Cannon read property "height" of undefined". Is there any fix for it?
     

    Attached Files:

    #1
  2. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,731
    Likes Received:
    4,170
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP
    Your plugins are in the wrong order. You can find the right order here.
     
    #2
  3. DryTEK

    DryTEK Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    Czech
    Primarily Uses:
    RMMV
    hmm.. only wrong plugin that was in wrong order was "Battle status window" right? So I put it in the right place, but still doesn't work.
     
    #3
  4. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,626
    Likes Received:
    1,053
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Open your rpg_core.js file in a text editor. What version does it say on the top?

    You can find the rpg_core.js file in the "js" folder of your project.
     
    #4
  5. Andar

    Andar Veteran Veteran

    Messages:
    28,680
    Likes Received:
    6,595
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    it might be that your filename is wrong. Windows has a stupid override that let's it ignore capitalization on filenames, but everywhere else that override does not exist - and that includes browserbased engines.

    For windows, Kid1 and kid1 are identical filenames - everywhere else that are two different files. and the undefined height could be because it can't load the file correctly, so try the other name.
     
    #5
  6. DryTEK

    DryTEK Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    Czech
    Primarily Uses:
    RMMV
    Oh thank you <3 I came back to this project after 2 years or so and those files werent updated. Now it's working. Thank you so much
     
    #6

Share This Page