Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Animations stuck in first frame in build

Discussion in 'Animation' started by tfgrip, Jul 5, 2018.

  1. tfgrip

    tfgrip

    Joined:
    Oct 12, 2017
    Posts:
    16
    Hello,

    we are currently working on a project that manages animations via Playable API. We had to upgrade Unity from 5.6 to 2017 (and then 2018) and we are currently experiencing issues with some animations not playing in builds.

    Everything works in editor as expected, but in builds some of the animations get stuck in what seems to be the first frame. There are some animations that are running without issue however, and we can't see any obvious difference.

    The code is taking the same code path, values seem to be set up the same as well. We're having a hard time figuring out where even to look for a problem.

    We were thinking that maybe we haven't updated from old experimental Playable API properly, but that doesn't explain why in editor animations play alright. Is there, however, some info about what has changed? We can't no longer see PlayableHandle in docs, even though the handles still exist in some way.

    Do you have any idea where to look at for a problem?

    Thank you.
     
    Last edited: Jul 6, 2018
  2. tfgrip

    tfgrip

    Joined:
    Oct 12, 2017
    Posts:
    16
    We have solved it, it wasn't an issue with playables per se. Certain constants were behaving differently in build, causing conditions to evaluate differently and setting timescale on some animations to 0.