Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.0.0
Issue ID
1363391
Regression
No
Shadows are not calculated correctly in WebGL Build when using a custom HLSL Shader
How to reproduce:
1. Open the attached project "ShadowRecieverBug.zip"
2. Build And Run the project
Expected results: The purple ball receives the shadow from the blue capsule
Actual results: The purple ball no longer recieves the shadow and instead turns dark
Reproducible with: 7.7.1 (2019.4.30f1), 10.6.0 (2020.3.19f1), 11.0.0 (2021.1.22f1), 12.0.0 (2021.2.0b12, 2022.1.0a9)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Shader had some errors in it causing the shadow artifacts.