Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
6.9.0
Issue ID
1183955
Regression
No
[LWRP] SRP Batcher breaks stencils and shadows are rendered on top of objects
Steps to reproduce:
1. download and open minimal repro project
2. move around view, observe white cubes do not flicker when behind black cube
3. select lightweight render pipeline asset (in project tab)
4. enable SRP Batcher (in inspector tab)
5. move around view, observe white cubes flickering when behind black cube
Expected result: No flickering; SRP batcher should only batch draw calls which use the same stencil ref value
Actual result: Flickering; white cube draw calls are batched despite different stencil ref values
Note:
- the draw calls use a randomly-selected Stencil ref value from the batched materials which causes flickering
- batched materials (white cubes) in the small repro use Stencil Ref 2 and 3
Reproducible with: 2019.2.10f1 (LWRP 6.9.2), 2019.2.3f1 (LWRP 6.9.0)
Not reproducible with: 2019.3.0a7 (LWRP 6.9.2)
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
SgtOkiDoki
Jan 31, 2020 15:53
It only happens when you enable Cascade Shadows.