Search Issue Tracker

Active

Under Consideration for 2021.3.X

Fixed in 2022.3.19f1, 2023.2.0a22

Votes

0

Found in

2020.3.40f1

2021.3.11f1

2022.1.20f1

2022.2.0b11

2023.1.0a14

2023.2.0a2

2023.3.0a3

Issue ID

UUM-17373

Regression

No

Sprite Renderer displays a warning when attempting to use URP shaders

--

-

*Steps to reproduce:*
# Download and open the attached project ([^SpriteRendererBug-URP.zip])
# Open the SampleScene
# Select the Sprite Renderer GameObject

*Expected result:*
* No error is shown in the Sprite Renderer component when using URP shaders

*Actual result:*
* An error is show when using URP shaders in the Sprite Renderer (see attached screenshot)

*Notes:*
* Reproduces in all public Unity builds
* Reproduces in URP only; other RPs are unaffected
* URP shaders use _BaseMap property for albedo textures instead of _MainTex. Perhaps it would make sense to store _MainTex in URP shaders as well, but hide it in the inspector

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.