Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.2.20f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1112631
Regression
No
Cubes not drawn to shadow map when their Y scale is 0.14 and directional light is almost perpendicular to the XZ plane
How to reproduce:
1. Open attached project "case_1112631-ShadowIssue" and scene "SampleScene"
2. Inspect the Scene or Game View
Expected result: both "Cube (1)" and "Cube (2)" cast hard shadows on to the "Cube" GameObject
Actual result: the "Cube (1)" and "Cube (2)" GameObjects don't cast shadows
Reproducible with: 2017.4.20f2, 2018.3.6f1, 2019.1.0b3, 2019.2.0a5
Note: the above cubes don't cast shadows when the Y scale is set to exactly 0.14 and the directional light has a rotation of 90.00001 around the X-axis. Inspecting the frame debugger instruction for this mesh shows that nothing is drawn to the shadow map, even though the call is there. Also, this problem is present for any number of such cubes, not just two.
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
- [macOS] Unable to install VisionOS Module using HUB 3.8.0-beta.2
- NullReferenceException is thrown when pressing the "Enter" key to select an item in a ListView
- Burst internal compiler errors are thrown when creating a new 2D project
- Tile Paint action disappears from Undo History when Tile Selection tool has been used beforehand
- The pregenerated LightDefinition.cs.hlsl does not match the source LightDefinition.cs when regenerating shader includes
Resolution Note (2019.3.X):
As we are not focusing on the built-in render pipeline we are aiming to close this bug. As a workaround we suggest to aggressively adjust the near/far plane, and normal bias for shadows. Or alternatively move to LWRP (for mobile) or HDRP (desktop/console), where this issue does not reproduce