Search Issue Tracker

Fixed in 6.0.1

Votes

0

Found in [Package]

6.0.0-pre.1

Issue ID

1304768

Regression

No

Deleting bone in PSB that is referenced by another PSB causes Null Reference Exception and GUI Error in Skinning Editor

Package: 2D Animation

-

Reproduction steps:
1. Open user's project "TestingProject.zip"
2. Open Assets/ArmTest folder
3. Notice that "Arm_Rig" is using "Arm_Rig_Base" Skeleton Asset, which means it's dependent on it
4. Click on "Arm_Rig_Base"
5. In the Inspector window click on the Sprite Editor button
6. Choose Skinning Editor in the dropdown list in the Top-Left corner
7. Select Edit Bone mode and click on any bone
8. Press the Delete button on your keyboard and click on the Apply button
9. Close Sprite Editor window
10. Click on "Arm_Rig" and in the Inspector window click on the Sprite Editor button
11. Choose Skinning Editor in the dropdown list in the Top-Left corner

Expected result: Some type of warning window about broken parent Skeleton Asset is shown and exceptions are handled
Actual result: Exceptions are thrown and GUI Errors are printed out to the Console without useful indicator of what has gone wrong

Reproducible with: 5.0.0-pre.1 (2021.1.0b1, 2021.1.0b3, 2021.2.0a2)
Couldn't test with: All other versions because 5.0.0-pre.1 is not available or breaks the project, and 5.0.0-pre.1 is needed because it added bone sharing from other PSDImporter file functionality

  1. Resolution Note (fix version 6.0.1):

    Fix available in 2021.2.0a13 and above

  2. Resolution Note (fix version 6.0.1):

    Fix available in 2021.1.3f1 and above

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.