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

Bug Can't animate with Sprite Resolver and Animator

Discussion in '2D' started by F417h, Jun 3, 2023.

  1. F417h

    F417h

    Joined:
    May 13, 2022
    Posts:
    1
    Hello,
    When I try to animate using Animator and Sprite Resolver/Sprite Library, it doesn't work.
    I already went through all the topics on the same matters, and I can't find any solution.

    Here is a video of the exact process I went through and the resulting problem, I can't see any difference with the sample, yet it doesn't behave the same way. (The sample objects works fine).
    The animation doesn't work in playmode either.



    What am I doing wrong ?
    Thanks for your time.
     
  2. DanielTanBK

    DanielTanBK

    Unity Technologies

    Joined:
    Aug 20, 2019
    Posts:
    82
    F417h likes this.
  3. DanielTanBK

    DanielTanBK

    Unity Technologies

    Joined:
    Aug 20, 2019
    Posts:
    82
    Hello, after investigation from our developers this is as expected.
    When animating the Sprite Key from changing the Category or Label, do ensure that the keyframe’s tangent in the Animation window is set to Constant, else it would not be able to resolve properly

    More info here: https://docs.unity3d.com/Packages/c...html?q=constant#changing-the-keyframe-tangent

    Unfortunately from your video we cannot tell if that's the case, do let us know if that does not resolve the issue.