Search Issue Tracker
Feature Request
Votes
1
Found in
6000.0.54f1
6000.1.14f1
6000.2.0b11
6000.3.0a3
6000.4.0a1
Issue ID
UUM-112567
Regression
No
UniversalResourceData.renderingLayersTexture is completely black when trying to access it in a custom URP ScriptableRendererFeature
Reproduction steps:
1. Open the attached “IN-102605_MissingRenderingLayers - Repro.zip“ project
2. Open the “SampleScene”
3. Open the Frame Debugger window (Window > Analysis > Frame Debugger)
4. Press the “Enable” button
5. Observe the custom pass “(RP 4:2) TestPass”
Expected result: Rendering layer data is available for a custom pass (all three spheres are on different layers and are shown in different colours in the rendering layers texture)
Actual result: Rendering layer texture “_GBuffer5” is bound but the texture is completely black/empty
Reproducible with: 6000.0.54f1, 6000.1.14f1, 6000.2.0b11, 6000.3.0a3
Could not test with: 2023.1.0a1 (feature not available)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Assets/ShowRenderingLayersFeature.cs contains the code for the custom pass
- Moving the custom render pass event from RenderPassEvent.BeforeRenderingTransparents to RenderPassEvent.AfterRenderingGbuffer did not resolve the issue
- Reproducible in the Player (the black UniversalResourceData.renderingLayersTexture covers the entire screen)
- Reproducible in a new project (when using the same script for the custom URP ScriptableRendererFeature)
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 Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
After investigation, this is a feature request. It will require a propoer development plan to allow using the renderingLayersTexture in all configuration of the pipeline. We hope to be able to prioritize it soon.