Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.1.0f3
Issue ID
964482
Regression
No
When using CommandBuffer.DrawRenderer() the shader stencil state leaks and affects subsequently rendered objects
Steps to reproduce:
1. Download and open the attached project
2. Observe the scene's gameobjects in the Game view
Expected result: objects in front rendered normally
Actual result: object behind's stencil state leaks
Reproduced on 5.6.4p1, 2017.1.2p1, 2017.2.0p1, 2017.3.0b8, 2018.1.0a3
Notes:
- Workaround provided: checking the "Do stencil workaround" on the camera's attached script solves the issue by forcing an additional object to be rendered in the command buffer using a shader that sets stencil back to a default state.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment