Search Unity

Graph execution order in bolt - bug?

Discussion in 'Visual Scripting' started by Ts1nd, Feb 11, 2021.

  1. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    108
    Why does Set_Base_Stats execute before Set_Base_Attributes? What determine the order?

    upload_2021-2-11_0-59-40.png
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,072
    Judging by this screenshot, Set Base Attributes errors and should not continue to Set Base Stats. Or Set Base Attributes superunit has multiple flows connected with the same End output inside of it, some of which work while others fail and throw an error.

    It's really hard to say where the problem is without console log and without seeing the contents of these superunits.

    Generally, the order is how you see it - it flows from left to right. Your problem is not the execution order, your problem is the error that colors the node red - those have to be fixed.
     
  3. unity_Nx7PMLMgq9zu9Q

    unity_Nx7PMLMgq9zu9Q

    Joined:
    Mar 31, 2021
    Posts:
    5
    Bolt is western, it reads left to right
     
    Deleted User likes this.