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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.