Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Official 2D Animation 7.0 for Unity 2021.2 beta

Discussion in '2D Experimental Preview' started by rustum, Jul 12, 2021.

Thread Status:
Not open for further replies.
  1. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    190
    2D Animation 7.0 RC for Unity 2021.2 beta

    2D Animation Improvements.png
    We are happy to announce that the first version of 2D Animation 7.0 is now available with Unity 2021.2. The focus of this version has been around improving the user experience with the Skinning Editor.

    What’s new?
    • Introduced a Sprite Influence tool to quickly see which Sprites a selected Bone influences.
    • Added a color picker to the Visibility panel to easily modify bone colours.
    • The associated shortcut is now displayed when hovering over a Skinning Editor tool.
    See the full changelog here.

    About 2D Animation
    The 2D Animation package adds tooling for rigging a sprite for skeletal animation. It includes a Skinning Editor module in the Sprite Editor window for creating and editing bones, manual & automatic mesh tessellation as well as skin weights generation and painting. The Sprite Skin runtime component ties this all together to drive sprite deformation.

    This also includes support for Multiple Sprite Single Character rigging workflows through 2D PSD Importer Package.

    Getting Started
    1. Install latest Unity 2021.2
    2. Start a new project with the 2D Template
    You can confirm that the 2D Animation 7.0 package is installed by opening Package Manager (Window > Package Manager) and selecting the Packages: In Project from the dropdown.
    In Project.png

    You should see a Release Candidate of 2D Animation in your project.
    Package Manager.png

    Optional Performance Boost

    When animating your characters, you can improve the performance of the animated Sprite’s deformation at runtime by installing both the Burst and Collections package from the Package Manager. You can read more about this here.

    What can you do?
    Try it out and let us know what you think of the package. We want to know what works as expected, what doesn’t and what is missing.
     
    adamgolden, bearcoree, EvOne and 3 others like this.
  2. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,696
    This is an amazing package and am using it for a while. Neat work!

    One question though - I noticed that I cannot use animated sprites as a mask, or at least if I try, it just masks like un-animated variant of the sprite. Is that something that's planned or do you happen to have a hint on how to add it by myself? It would be helpful for quite some effects.
     
  3. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    Hey @DragonCoder, thank you for your kind words!

    Regarding your question, could you give us an example on how you would like it to work?
     
  4. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    Hi :)
    Finally, those bugs with 2021.2 beta under Win 7 - are fixed, and I was able to launch a new beta 2021.2.0b11 !
    and now I can explore the new 7th(WOW!) version of the 2DAnimation package! YES!

    And, here is the first questions ... :D

    -It turns out that now "Burst" is the mandatory and vital part for the animation package?
    -I did not install it. And turned off everything that is possible in the settings!
    But He is still present in the Packages folder and I got a mistake associated with Burst ... :(

    Previous versions did not behave this way...:oops:
    2021-09-15_10-47-21.png
     
  5. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    In Unity 2021.2, 2D Common now has a hard dependency on Burst to speed up mesh triangulation and tessellation. So the burst package is required by the 2D feature set from 2021.2 and onwards.

    What is the reason for trying to remove Burst from your project?
     
    Ferazel and EvOne like this.
  6. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    I did not "deleted it from the project."
    I "did not install it into the project" :)

    He was installed "in itself", due to dependencies
    But it can not work, just throw out these errors in the log.
    -Because of which I have not been trying to install it for a long time - since the Unity of 2017 (maybe I don't remember when it appeared for the first time)

    Well, sad all this...
    Once you said that it will be optional setting to speed up the work of the animation, now it is a mandatory part.

    Errors changed, but I could not force him to work.

    -Still, he was optional and, in fact, I did not need it in my projects
    Because I do not use a ECS or something like that.
     
  7. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    Well, it seems the current mistakes - "simpler" than before.
    - I found a discussion on the forum and there is even a solution:
    https://forum.unity.com/threads/lots-of-burst-errors.1166947/

    -Just update the Burst!

    The problem is that it is - I can't because of another Bug of Unity2021.2
    about which I wrote on the forum and sent a report:
    (1365239 (Open) There are no icons on the interface buttons in Unity2021.2.0b111)

    And while in the package manager I do not have a button or Icons "Update"... :D
    2021-09-15_13-07-17.png

    Upd: It's just really works - Burst 1.60 - and errors - disappeared... :D

    <<< Now I have Burst! Ho-ho-ho! >>>
     
    Last edited: Sep 15, 2021
  8. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    I see, that is an unfortunate upgrade experience.
    What you can do is manually specifying the burst version in the projects manifest.json by following these steps:
    1. Open the project folder in the file explorer
    2. Navigate to the Packages folder
    3. Open the manifest.json in a text editor
    4. Add the following line to the list of dependencies:
    "com.unity.burst": "1.6.0"
    This will force the project to use Burst 1.6.0, which is the latest burst version.

    Here is the manifest.json in full:
    Code (CSharp):
    1.  
    2. {
    3.   "dependencies": {
    4.     "com.unity.burst": "1.6.0",
    5.     "com.unity.2d.animation": "7.0.0",
    6.     "com.unity.2d.pixel-perfect": "5.0.1",
    7.     "com.unity.2d.psdimporter": "6.0.0",
    8.     "com.unity.2d.sprite": "1.0.0",
    9.     "com.unity.2d.spriteshape": "7.0.0",
    10.     "com.unity.2d.tilemap": "1.0.0",
    11.     "com.unity.2d.tilemap.extras": "2.2.0",
    12.     "com.unity.collab-proxy": "1.9.0",
    13.     "com.unity.ide.rider": "3.0.7",
    14.     "com.unity.ide.visualstudio": "2.0.11",
    15.     "com.unity.ide.vscode": "1.2.3",
    16.     "com.unity.test-framework": "1.1.29",
    17.     "com.unity.textmeshpro": "3.0.6",
    18.     "com.unity.timeline": "1.6.2",
    19.     "com.unity.ugui": "1.0.0",
    20.     "com.unity.visualscripting": "1.7.2",
    21.     "com.unity.modules.ai": "1.0.0",
    22.     "com.unity.modules.androidjni": "1.0.0",
    23.     "com.unity.modules.animation": "1.0.0",
    24.     "com.unity.modules.assetbundle": "1.0.0",
    25.     "com.unity.modules.audio": "1.0.0",
    26.     "com.unity.modules.cloth": "1.0.0",
    27.     "com.unity.modules.director": "1.0.0",
    28.     "com.unity.modules.imageconversion": "1.0.0",
    29.     "com.unity.modules.imgui": "1.0.0",
    30.     "com.unity.modules.jsonserialize": "1.0.0",
    31.     "com.unity.modules.particlesystem": "1.0.0",
    32.     "com.unity.modules.physics": "1.0.0",
    33.     "com.unity.modules.physics2d": "1.0.0",
    34.     "com.unity.modules.screencapture": "1.0.0",
    35.     "com.unity.modules.terrain": "1.0.0",
    36.     "com.unity.modules.terrainphysics": "1.0.0",
    37.     "com.unity.modules.tilemap": "1.0.0",
    38.     "com.unity.modules.ui": "1.0.0",
    39.     "com.unity.modules.uielements": "1.0.0",
    40.     "com.unity.modules.umbra": "1.0.0",
    41.     "com.unity.modules.unityanalytics": "1.0.0",
    42.     "com.unity.modules.unitywebrequest": "1.0.0",
    43.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    44.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    45.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    46.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    47.     "com.unity.modules.vehicles": "1.0.0",
    48.     "com.unity.modules.video": "1.0.0",
    49.     "com.unity.modules.vr": "1.0.0",
    50.     "com.unity.modules.wind": "1.0.0",
    51.     "com.unity.modules.xr": "1.0.0"
    52.   }
    53. }
    54.  
    We'll make sure to bump 2D Commons dependency of Burst to 1.6.0.
    Thanks for the feedback! Let us know if this fixes your issue
     
  9. EvOne

    EvOne

    Joined:
    Jan 29, 2016
    Posts:
    173
    Thank you very much!

    That is how I did. (Seeing the relevant version of the Bust in Change Log - 1.60 - replaced the number of the current version in the manifest)
    -After this, everything worked as it should.

    Comment Above:
    "Upd: It's just really works - Burst 1.60 - and errors - disappeared... :D
    <<< Now I have Burst! Ho-ho-ho! >>>"

    - I adjusted after the Burst began to work.

    Now there is one, not fatal, but nevertheless an unpleasant problem is missing icons, buttons, checkbox ...
    As I understood all the controls created by the UI-Elements, for some reason - are not shown.
    2021-09-15_18-33-07.png
    I already sent Bug report, now I am waiting for an answer ...

    In the Skin Editor, this problem is also present - it was especially "fun" copy skeleton :)
    without checkbox which switch off copy meshes... :oops:
    2021-09-15_18-35-45.png
    (
     
  10. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    Great that you got Burst working and thanks for reporting the UI issue you are seeing. I'll follow up with the UI Elements team regarding the issue.

    Do keep us posted on your experience with the editor!
     
    EvOne likes this.
  11. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    190
    Hi folks! :) 2D Animation 7.0 has been released for Unity 2021.2. I'm closing and unsticking this thread. Thank you for the feedback during its development. Let's keep the discussion going here.
     
    Ted_Wikman likes this.
Thread Status:
Not open for further replies.