TypeError: Cannot read property 'isActor' of null

Discussion in 'Javascript/Plugin Support' started by DRG, Jun 27, 2019.

  1. DRG

    DRG Orange juice lover Veteran

    Messages:
    72
    Likes Received:
    27
    Location:
    place
    First Language:
    english
    Primarily Uses:
    RMMV
    Hello! So I was testing out Yanfly's STB system to see weather or not i wanted it to be my game's main battle system. I'm doing this so that I can design the rest of my game around this system. however while testing I ran into this error:
    at Function.BattleManager.startAction (SRD_TimedAttackCore.js:464:20)
    at Function.BattleManager.startAction (YEP_WeaponUnleash.js:495:42)
    at Function.BattleManager.startAction (YEP_X_BattleSysSTB.js:383:40)
    at Function.BattleManager.startAction (SRD_TimedAttack_ActionSequences.js:140:33)
    at Function.BattleManager.startSTBInput (YEP_X_BattleSysSTB.js:335:10)
    at Function.BattleManager.processTurn (YEP_X_BattleSysSTB.js:323:10)
    at Function.BattleManager.updateTurn (rpg_managers.js:2425:14)
    at Function.BattleManager.updateTurn (YEP_X_TurnOrderDisplay.js:403:39)
    at Function.BattleManager.update (YEP_BattleEngineCore.js:1926:18)
    at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265:23)
    Now i'm not a genius but something tells me that these scripts are looking for some sort of "isActor" variable, and that variable is set to nothing. Now here is some other information I gathered.

    This only happens when the STB system is being used
    and
    This only happens when an actor is afflicted with a state that forces him to skip a turn. In my game this includes "Stun" and the MV default "Sleep" state. I tested it with both and it gave me the same error.

    if anyone knows why it does this and how i could potentially fix it i would be extremely grateful.
    Thanks! - D.R.G.

    EDIT: I've added my current plugin list, I hope this helps in some way
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
    Last edited: Jun 28, 2019
    #1
  2. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    656
    Likes Received:
    225
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Sounds like a plugin conflict. Try change the order of SRD with the yanfly ones.
    Also, make sure that the yanfly ones are in the correct order(see the site to check the right order)
     
    #2
  3. kneel_before_ME

    kneel_before_ME Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Now i'm not a genius but pretty sure, at least people have to see your plugin list to able to help you
     
    #3
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,555
    Likes Received:
    10,495
    First Language:
    English
    Primarily Uses:
    RMVXA

    I've moved this thread to Javascript/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #4
  5. Andar

    Andar Veteran Veteran

    Messages:
    28,303
    Likes Received:
    6,429
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    when testing for this error, did you start a new game in playtest or did you continue a saved game?
     
    #5
  6. DRG

    DRG Orange juice lover Veteran

    Messages:
    72
    Likes Received:
    27
    Location:
    place
    First Language:
    english
    Primarily Uses:
    RMMV
    I started a new game
     
    #6
  7. Andar

    Andar Veteran Veteran

    Messages:
    28,303
    Likes Received:
    6,429
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    then you need to give us a screenshot of your plugin manager and a screenshot of the full error message in the console (your text above does not contain all info from there)
     
    #7

Share This Page