Search Issue Tracker

Fixed

Fixed in 7.1.0, 9.1.0

Votes

0

Found in [Package]

7.0.11

9.0.3

10.0.2

Issue ID

DANB-513

Regression

No

[2D] Adding the 2d animation package adds BoneWeight data to every Sprite in an AssetBundle even if that Sprite has no bones

Package: 2D Animation

-

Steps to reproduce:
1. Open the attached user project "anim2d.zip"
2. Click "Build -> Build Bundles" at the top menu
3. Using the Package Manager remove the 2D Animation package
4. Click Build -> Build Bundles
5. Navigate to and open "<ProjectFolder>/Bundles/<Platorm>/1"
6. Use WebExtract and binary2text (Located in the root Editor folder under Data/Tools) on bundle <ProjectFolder>/Bundles/<Platorm>/1/Piggy_<somehash> to get human readable bundle data
7. Repeat step 6 on <ProjectFolder>/Bundles/<Platorm>/2/Piggy_<somehash>
8. Diff the extracted contents of build 1 and 2 (See attached Results.png)

Expected results: the contents are identical
Actual results: adding the 2d animation package adds BoneWeight data to every Sprite in an AssetBundle even if that Sprite has no bones

Reproducible with: 2D animation 7.0.11 - 10.0.2 (2021.3.30f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b7, 2023.3.0a3)

Reproducible on: Windows 10 2H22
Not reproducible on: No other environment tested

Notes:
-When the 2DAnimation package is imported into a project, it changes the artifacts given the postprocessor defined in \com.unity.2d.animation@9.0.3\Editor\SpritePostProcess.cs

  1. Resolution Note (fix version 9.1.0):

    Fixed for 2D Animation 9.1.0

  2. Resolution Note (fix version 7.1.0):

    Fixed for 2D Animation 7.1.0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.