Type Error: cannot read height undefined

Discussion in 'Javascript/Plugin Support' started by Pixii, Feb 14, 2016.

  1. Pixii

    Pixii Villager Member

    Messages:
    20
    Likes Received:
    2
    First Language:
    English
    Receiving the following Error when attempting to initiate a Battle via an Event, using Yanfly Core.
    File Name: YEP_CoreEngine.js
    Version: v1.12


    Parameters: Set to Default
    JavaScript File: unchanged
    Plugins: ALL Plugins are OFF, EXCEPT YEP_CoreEngine.js



    TypeError:


    Cannot read property 'height' of undefined



    TypeError: Cannot read property 'height' of undefined
        at Sprite_Enemy.updateFrame (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_sprites.js:977:34)
        at Sprite_Enemy.Sprite_Battler.updateMain (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_sprites.js:512:14)
        at Sprite_Enemy.Sprite_Battler.update (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_sprites.js:493:14)
        at Sprite_Enemy.update (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_sprites.js:948:37)
        at file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_core.js:3290:19
        at Array.forEach (native)
        at Sprite.update (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_core.js:3288:19)
        at file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_core.js:3290:19
        at Array.forEach (native)
        at Sprite.update (file:///C:/Users/Nicho/Documents/Games/Pathfinder/js/rpg_core.js:3288:19)
     
    #1
  2. Crimson Dragon Inc.

    Crimson Dragon Inc. Crimson Dragon Veteran

    Messages:
    925
    Likes Received:
    133
    Location:
    Sheboygan wisconsin
    First Language:
    english
    Primarily Uses:
    RMMV
    can we have a screen shot of the event and a screen shot of the encounter page on the troop tab?
     
    #2
  3. Andar

    Andar Veteran Veteran

    Messages:
    28,348
    Likes Received:
    6,454
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Did you start a new game after installing scripts? If you load a savegame and that savegame is for a different combination of active plugins, then such errors happen in 95% of all cases.


    Most plugins and/or script changes need the use of "new game" to setup their data correctly.
     
    #3
  4. Pixii

    Pixii Villager Member

    Messages:
    20
    Likes Received:
    2
    First Language:
    English
    It's literally just one event with one line: Battle Processing

     

    It's 100% an Unsaved File. I have ZERO Saved Files. I've even closed out the RMMV Program and re-opened it several times. This is a brand new project with ONE Plugin: Yanfly Core. This is an Event with One line.

    Goblin.png

    battle.png
     
    #4
  5. Crimson Dragon Inc.

    Crimson Dragon Inc. Crimson Dragon Veteran

    Messages:
    925
    Likes Received:
    133
    Location:
    Sheboygan wisconsin
    First Language:
    english
    Primarily Uses:
    RMMV
    ok just to be safe try turing off the core engine plugin and trying a again and seeing if that works..... then try turning it on and adding in the battle engine core plug (yanfly aswell) in to see if that helps
     
    #5
  6. Pixii

    Pixii Villager Member

    Messages:
    20
    Likes Received:
    2
    First Language:
    English
    Ok, so it looks like Yanfly Core isn't the problem. I now have ZERO Plugins enabled.
    I just deleted that Enemy Entry and Deleted the Troop Entry
    And re-added both entries.
    So it works now >.<

    Thanks for the help!

    Question Solved
     
    Last edited by a moderator: Feb 14, 2016
    #6

Share This Page