Search Issue Tracker

Active

Votes

0

Found in

2019.4

2019.4.18f1

2020.3

2021.2

2022.1

Issue ID

1380290

Regression

No

Shader parameter is not properly set in the Shadow Pass when using Global Shader Keyword "Define"

Shadows/Lights

-

How to reproduce:
1. Open the attached project "ShadowBug.zip"
2. Enter the Play Mode
3. Observe the "Cube_Red" GameObject shadows

Expected result: Shadows are on the ground "Plane" GameObject
Actual result: Shadows are on top of the Cube

Reproducible with: 2019.4.32f1, 2020.3.24f1, 2021.2.1f1, 2022.1.0a16

Notes:
- Reproducible in the Editor and in the Build
- If you're not seeing the issue try to disable "Cube_Green"

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.