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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.