Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Animator going crazy in play mode

Discussion in 'Editor & General Support' started by unity_MtSu_eLE9SBEkw, Apr 29, 2020.

  1. unity_MtSu_eLE9SBEkw

    unity_MtSu_eLE9SBEkw

    Joined:
    Apr 29, 2020
    Posts:
    2
    Hello everyone, you're my last hope..

    So to explain my problem. For an unknowned reason, my unity started to ignore my transition link, triggers, exit time etc.. In play mode.

    I made a simple example:

    Here is what happend in play mode:
    https://gyazo.com/af49460b5dc5a0135072ce7ba574dd6e

    Here is the animator:
    https://gyazo.com/7f6e6409dec39305762ef6f8fb4ef4d5

    Here are my parameters
    https://gyazo.com/f82b25708db03e345e11f927ad100315

    Here is anomther example:
    https://wetransfer.com/downloads/9bafec2d5b5a9b2e201a3af4512c60c420200427125658/13e481 (bit longer, but ou can see some of the animations looping for no reason, loop is disable)

    So, to trigger the Menu In animation you've to press a button that have a trigger on click, same for the out animation. Everything worked few days ago, I didn't touch unity for like 2 days and I don't know how to solve this issue. It's clearly a local bug, because it's working fine on my friends computer (we're working with git)

    When I'm cliking out of the play window, it seems to work fine but.. To test my S***, I've to click in this play window so..

    I tried to uninstall Unity, delete temp files, switch version, it's remains the same. The fun thing is, when I'm making a build, it's working normaly..

    I tryed everything, except buying a new computer but.. well.
    Thank you for your time mates..
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    It seem wired for me that a animation stat the has no movement has a length and not just one frame.
    2. That the trigger blinking on and of is wired.
    Normaly for a state machine that has only tow states i use a bool parameter to define the action. that way its 100 % what the state should be.
     
  3. unity_MtSu_eLE9SBEkw

    unity_MtSu_eLE9SBEkw

    Joined:
    Apr 29, 2020
    Posts:
    2
    I tried many things different parameters, the only way for my unity to work is to delete every link between states.. and it's really strange that my preview is F***ed up when on another computer, everything works fine :/