Search Issue Tracker

In Progress

Fix In Review for 10.2.1, 11.0.1

Votes

1

Found in [Package]

9.2.1

10.2.1

11.0.1

12.0.2

13.0.0

Issue ID

DANB-1047

Regression

No

Sprite Skin deformation breaks when using MaterialPropertyBlock to set Instance Properties on a specific shader

Package: 2D Animation

-

How to reproduce:
1. Open the attached “IN-102621” project
2. Open the “SampleScene” Scene
3. In the Hierarchy expand the “Rig Deformation Test 2.a (Broken: Material Property Block)” GameObject
4. Select the Target GameObject and change the Transform component Position value to -10 in the Inspector window
5. Observe the “Rig Deformation Test 2.a (Broken: Material Property Block)” GameObject bend downwards
6. Select the “Rig Deformation Test 2.a (Broken: Material Property Block)” GameObject
7. In the Inspector window right click the “Material Properties (Script)” component and select the “Update Material Properties” option
8. Observe the “Rig Deformation Test 2.a (Broken: Material Property Block)” GameObject

Expected result: The GameObject keeps bending downwards
Actual result: The GameObject is not bending downwards

Reproducible with: 2022.1.0a1, 2022.3.64f1, 6000.0.52f1, 6000.1.10f1, 6000.2.0b8

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: Removing Sprite Skin and Sprite Renderer components from the “Submachine Gun” GameObject inside the “Rig Deformation Test 2.a (Broken: Material Property Block)” GameObject and then adding them back using Ctrl + Z will make the Sprite Skin deformation work again

  1. Resolution Note (fix version 11.0.1):

    We have reviewed your report and found that these issues are intended, but we have confirmed that we should reflect them in our documentation.

    We have already supported the "Sprite Skinning Node" in Shader Graph since 6000.2 or later, but unfortunately, we don't have an alternative way in 6000.1.

  2. Resolution Note (fix version 10.2.1):

    We have reviewed your report and found that these issues are intended, but we have confirmed that we should reflect them in our documentation.

    We have already supported the "Sprite Skinning Node" in Shader Graph since 6000.2 or later, but unfortunately, we don't have an alternative way in 6000.0.

  3. Resolution Note:

    Thank you for the report! We have a couple of findings:

    Issue 1: The problem is that Sprite Skin does not immediately reflect changes in the "GPU Skinning" option in Player settings. Reloading the scene in the editor will reflect the deformation.

    Issue 2: The problem is that applying MPB disables the SRP Batcher in the renderer. GPU deformations are only possible with the SRP Batcher enabled.

    Issue 3: When using Shader Graph, the Sprite Skinning Node must be set.

    To communicate this to the users, we are updating our documentation to reflect this

  4. Resolution Note:

    Thank you for the report! We have a couple of findings:

    Issue 1: The problem is that Sprite Skin does not immediately reflect changes in the "GPU Skinning" option in Player settings. Reloading the scene in the editor will reflect the deformation.

    Issue 2: The problem is that applying MPB disables the SRP Batcher in the renderer. GPU deformations are only possible with the SRP Batcher enabled.

    Issue 3: When using Shader Graph, the Sprite Skinning Node must be set.

    To communicate this to the users, we are updating our documentation to reflect this

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.