Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Sprite Resolver issue after upgrade from 2020

Discussion in '2D' started by wengjx-, Mar 28, 2023.

  1. wengjx-

    wengjx-

    Joined:
    Oct 1, 2021
    Posts:
    21
    Hi,

    I am facing an animation issue with sprite resolver. The project has always been on unity 2020 and we decided to make the upgrade recently. For the artists, the workflow has always been using the keyframe recording mode in animation panel and select which sprite they should use in the sprite resolver in the game object. In 2020, this step only referenced the label hash but not the category hash in the animation.

    I saw that the animation resolver have changed from .Label hash and .Category hash to a single sprite key. The animation upgrade tool for 2022 requires both category and label hash but all of our animations only have the label hash.

    We have already create alot of animation for our game. Is there a quick way we could add a category hash to all the animations such that we can do the upgrade using the tool or downgrade the version of 2D animation on 2021?
     
  2. wengjx-

    wengjx-

    Joined:
    Oct 1, 2021
    Posts:
    21
    Bump. Anyone has any solution to this?