Search Issue Tracker
By Design
Votes
0
Found in
2022.2.0a9
2022.2.0a10
Issue ID
1419160
Regression
Yes
GetAdditionalLightShadowSamplingData with 0 parameters is no longer accessible in 2022.2.0a10
Steps to reproduce:
1. Open the attached project
2. Open Console or select the shader "UniversalToon.shader" and observe the error in the console
Expected results: No errors produced
Actual results: "'GetAdditionalLightShadowSamplingData': no matching 0 parameter function" shader error produced
Reproducible with: 2022.2.0a10
Not reproducible with: 2022.2.0a9
Notes:
- Reproducible on Win10 (DX11) and Mac (Metal)
-
MingZiJiaoZhongGuo
Aug 27, 2023 13:08
change GetAdditionalLightShadowSamplingData() to GetAdditionalLightShadowSamplingData(0), it worked!
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
- 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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
Resolution Note:
Shadow quality is per light option now. An index must be provided. You can call it with index 0 as a temp workaround, but the results might not be consistent.