Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    5
    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:
    166
    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:
    5
    Thank you for your response, I misread the text and interpreted it as only the first output node would activate.
     
    ericb_unity likes this.