Search Unity

Animation freezes

Discussion in 'Animation' started by c01dm00n, Oct 13, 2014.

  1. c01dm00n

    c01dm00n

    Joined:
    Sep 11, 2014
    Posts:
    4
    Hi all

    I have a strange problem that only appears if I "build and run" (Ctrl+B) the game. Sometimes the animation stops working after I execute SetTrigger. It's a simple sprite animation with 1 transition on a trigger. Everything always works well if I start the game from the editor. But in built version animation sometimes freezes.The fun fact is sometimes it works, sometimes it doesn't. The code doesn't change but from build to build the issue appear and disappear.It drives me crazy as I am not in control of what is happening. I checked there are no exceptions thrown.
    Does anyone know what may cause it?

    Thank you.