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)
Comments (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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.