Search Issue Tracker
Fixed in 8.0.0
Votes
21
Found in [Package]
5.13.0
Issue ID
1156741
Regression
No
[LWRP] When using a ScriptableRendererFeature with the LWRP unnesesary Final Blit Pass is done
Steps to reproduce:
1. Download 1156741_repro.zip and open "SampleScene" scene
2. Enter play mode
3. Open Frame Debugger
4. Notice that there isn't a Final Blit Pass during rendering
5. Change Renderer Type to Custom renderer -> Custom Forward Renderer
6. Enter play mode
7. Notice that there is a Final Blit Pass during rendering
Expected results: When using ScriptableRendererFeature there should not be any blit done
Actual results: When using ScriptableRendererFeature unnecessary Final Blit Pass is done
Reproduced with: 2019.3.0a5, 2019.2.0b4, 2019.1.4f1
Reproduced with package versions: 6.5.3, 5.13.0
Comments (3)
-
rustinlee
Apr 13, 2021 16:43
Still present in URP 10.4.0 on Unity 2020.3.3f1.
See ForwardRenderer.cs line 276:
var createColorTexture = rendererFeatures.Count != 0 && !isPreviewCamera; -
JohnnyBextor
Oct 23, 2019 02:15
Still reproduced in 6.9.0 LWRP. Unity 2019.2.6f1
-
Petur-Aldin
Aug 06, 2019 11:30
This is still an issue in 5.16.1.
It can be "fixed" by removing a line in the LWRP/Runtime/RenderFeatures/ForwardRenderer.Setup() method.
(Line 117-118, in 5.16.1)
bool createColorTexture = RequiresIntermediateColorTexture(ref renderingData, cameraTargetDescriptor) || rendererFeatures.Count != 0;Removing the "|| rendererFeatures.Count != 0" makes it not create a color texture and so no final blit pass. I didn't find any problems removing this line.
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
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
Resolution Note (fix version 8.0.0):
Fixed with 2020.1.0b1 (8.0.1)