Search Issue Tracker

Fixed

Fixed in 6000.0.56f1, 6000.1.15f1, 6000.2.0b13, 6000.3.0a4

Votes

0

Found in

6000.0.54f1

6000.1.12f1

6000.2.0b10

6000.3.0a2

Issue ID

UUM-111921

Regression

Yes

Changes of MaterialPropertyBlock via Script reset when Sprite Renderer.Color is changed in animation

-

Reproduction steps:
1. Open the attached “AnimateColorMaterialBlockBug“ project
2. Open the “Assets/TestScenario/SampleScene“ Scene
3. In the Hierarchy window, select “SpriteRenderer“ GameObject
4. In the Inspector window, make sure “Overwrite Color“ and “Overwrite Saturation” options in “Set Material Property Block” Script are enabled
5. Enter Play Mode
6. Observe the Game View and wait until the Image starts to fade

Expected result: The image stays red when fading
Actual result: The image turns to white before fading

Reproducible with: 6000.0.42f1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Not reproducible with: 2022.3.65f1, 6000.0.41f1

Reproducible on: macOS Sequoia 15.5 (M1 Max), Windows 11
Not reproducible on: No other environments tested

  1. Resolution Note (fix version 6000.3.0a4):

    Fix for this issue is available on Unity 6000.3.0a4 and above

  2. Resolution Note (fix version 6000.2.0b13):

    Fix for this issue is available on Unity 6000.2.0b13 and above

  3. Resolution Note (fix version 6000.1.15f1):

    Fix for this issue is available on Unity 6000.1.15f1 and above

  4. Resolution Note (fix version 6000.0.56f1):

    Fix for this issue is available on Unity 6000.0.56f1 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.