Modding Help exception thrown, shutting down: (BadVariantCast)

Discussion in 'Starbound Modding' started by Tamamo89, Jul 29, 2017.

  1. Tamamo89

    Tamamo89 Pangalactic Porcupine

    Behaviors
    Additions
    /behaviors/monster/boss/dollboss/***

    /behaviors/nodes/dollboss.nodes
    1. spawnHands
    2. updateHands
    3. dollbossBobIdle
    4. dollbossBobApproach
    5. dollbossSwoop
    /behavior/nodes/modules.nodes
    1. dollboss behavior modules
    2. staffcombat
    /behaviors/nodes/npc.nodes
    1. hasStaffPrimary
    2. hasStaffSheathed

    /behaviors/npc/combat/meleecombat.behavior
    /behaviors/npc/combat/rangedcombat.behavior
    /behaviors/npc/combat/staffcombat.behavior
    /behaviors/npc/combat.behavior

    Log
    Code:
    Error: [10:02:56.402] [Error] Application: exception thrown, shutting down: (BadVariantCast)
    I have no idea what that even means, and the log doesn't tell me where that error is being called. If attached a git with the behaviors and a log.

    Hopefully this is enough information to pinpoint this problem. If not just ask for more.

    @Healthire
    On a related note, we could use some improved error logging for behaviors. It tells us theirs an error and even gives us a stack trace. But it doesn't tell us where that error generated.
     

Share This Page