Search Issue Tracker
Fixed
Votes
0
Found in [Package]
8.3.1
Issue ID
1316809
Regression
Yes
[SRP] ScriptableRenderContext.DrawShadows does not take into account different ShadowDrawingSettings on second call
How to reproduce:
1. Open the user's attached "reign-srp-LTS.zip" project in 2020.2 or higher
2. Open the "Toon" Scene
3. Observe the shadows near the character in the Game view
Expected result: The character's shadows are drawn in the Game view
Actual result: The character's shadows are not drawn in the Game view
Reproducible with: 8.3.1 (2020.1.17f1), 10.3.1 (2020.2.6f1), 11.0.0 (2021.1.0b8), 12.0.0 (2021.2.0a6)
Not reproducible with: 7.5.3 (2019.4.21f1)
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
- Decal not projected on top of a Lit Material when MSAA is enabled, and Rendering Path is Forward or Forward+ in a Standalone Build
- Separation lines between minimized fields become invisible when scrolling in the Profiler
- Drag & drop and object picker assignment fail when ExposedReference variables are used in a Timeline clip
- AudioSource.time prints out 0 when AudioSource is not playing even if it is manually set
- [Android] Crash on "UnityMotionEventCallbacks::_GetPointerIdImpl" when giving 8 simultaneous touch inputs
Resolution Note:
This is actually a feature request for customizable scriptable culling, and we are not supporting this path at this point in time. This was not actually a regression, as it only seemed to work due to another bug that was fixed which was setting the shadow cull distance to the camera far plane when calling drawShadow with different culling results. The workflow for this at this point in time would be to use spotlights with orthographic projection with a matrix override for drawing the segmented shadow layers into different render textures.