Search Issue Tracker

Fixed in 3.2.0

Votes

1

Found in [Package]

3.0.0

Issue ID

1061353

Regression

No

[LWRP] Shadow Cascades fail to render and warning thrown

Package: Scriptable Render Pipeline Lightweight

-

When trying to set shadow cascades an error is thrown and the shadow map fails to render.

Error: Property (_WorldToShadow) exceeds previous array size (5 vs 1). Cap to previous size.

Steps:
1. Load LWRP project(BoatDemo or Template)
2. Set the shadow cascade to something other than 'none'

Expected: Shadows render normally and now warnings are thrown
Actual results: Shadows stop rendering and warning is thrown

Repos in LWRP version 3.0.0, doesn't in 2.0.5 but there are other issues with cascades

Notes:
The shadow cascades seem to render fine(see attached images) yet is looks like the pipeline tries to switch to Screen Space Shadows when using cascades and the collect shadow pass is failing to create a legitimate SSShadow texture.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.