Search Unity

Resolved Wrong Output from Super Unit

Discussion in 'Visual Scripting' started by mr-cowface, Aug 11, 2021.

  1. mr-cowface

    mr-cowface

    Joined:
    Mar 28, 2020
    Posts:
    6
    I am using unity 2021.1.16f1 for visual scripting and I've found in one of my super units when I have multiple outputs it doesn't take the variable from the active output but instead from one that shouldn't be active.

    In these images you can see the output not being active but the Boolean literal still passing data.
    And in the other image where the output should be active but the Boolean literal isn't passing data.
     

    Attached Files:

  2. ericb_unity

    ericb_unity

    Unity Technologies

    Joined:
    Nov 24, 2017
    Posts:
    167
    You should see a warning on the output node as it is impossible to have this node more than one time.

    Basically, you need to connect everything only on one output node.
     
  3. mr-cowface

    mr-cowface

    Joined:
    Mar 28, 2020
    Posts:
    6
    Thank you for your response, I misread the text and interpreted it as only the first output node would activate.
     
    ericb_unity likes this.