Search Issue Tracker
Active
Under Consideration for 6000.2.X, 6000.3.X, 6000.4.X
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment