Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.28f1

2022.2.21f1

2023.1.3f1

2023.2.0a20

Issue ID

UUM-5579

Regression

No

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

--

-

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"

  1. Resolution Note:

    Providing a proper fix for this issue would tank shadow rendering performance too much. We'll do some refactoring later on and the issue will disappear.

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.