Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Bolt Start State Not Exiting

Discussion in 'Visual Scripting' started by brian1gramm1, Aug 3, 2022.

  1. brian1gramm1

    brian1gramm1

    Joined:
    Sep 15, 2017
    Posts:
    56
    Flow State
    BoltStartState.png
    On Enter Start State
    BoltStartStateRandomState.png

    The code above works. I get a new random state after the Start state has started. However, The start state never exits. I have to force exit in editor.
    boltStartStatePlay.png
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,050
    Welcome to thing #99 that was fixed in the discontinued Bolt 2 and Unity haven't fixed yet in their Bolt 1 rebrand, now called Unity Visual Scripting. I'm vague on the details since Ludiq forums doesn't exist anymore and I don't want to dig through the wayback machine archives, but any state doesn't really behave like a true any state and you have to hardware it with transitions to all other states for it to somewhat work like any state.
     
  3. brian1gramm1

    brian1gramm1

    Joined:
    Sep 15, 2017
    Posts:
    56
    Yea I read that, but could not find any solution on how to do that? My few attempts did not work.
     
  4. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,050
    According to this post, you simply have to connect empty transitions. i.e. connect the start state with any state.
     
  5. brian1gramm1

    brian1gramm1

    Joined:
    Sep 15, 2017
    Posts:
    56
    Darn it. I thought I tried that and it didn't work. Now it is. Thanks