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"
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.