Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    4
    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:
    4
    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.