Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.1.0f1

2023.2.0a19

Issue ID

UUM-40226

Regression

Yes

Sprite color change is not being applied when changing the color using SpriteRenderer.color field

-

Reproduction steps:
1. Open the attached project “ColorRepro”
2. Open the “Assets/Scenes/Main Map” Scene
3. Enter the Play mode
4. Inspect the Game view

Expected result: 6 bigger white squares changes colors
Actual result: All the squares stay white

Reproducible with: 2023.1.0a11, 2023.1.0f1, 2023.2.0a19
Not reproducible with: 2021.3.27f1, 2022.3.2f1, 2023.1.0a10

Reproducible on: macOS 13.3 (Intel)

  1. Resolution Note:

    The issue happens due to a shader generated by "Amplify Shader Editor" not supporting SRP Batcher for 2D Renderers introduced in versions 2023.1 and above.
    Please use unity_SpriteColor instead of _RendererColor for 2023.1 so the shader works on SRP-Batcher as well as without.

Comments (1)

  1. pHghost

    Jul 11, 2023 23:21

    Reported to the Amplify team who should be providing a fix in one of their upcoming updates.

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.