Search Issue Tracker
Fixed in 10.0.0
Votes
0
Found in [Package]
8.0.1
Issue ID
1232761
Regression
Yes
[URP] CameraColorTarger is set to BuiltinRenderTextureType.CameraTarget without checking if there are any Renderer Features
How to reproduce:
1. Open the attached project "1232761.zip"
2. Open the "Test" Scene
3. Observe the Game View
Expected result: GameObjects are not rendered black in the Game View
Actual result: GameObjects are rendered black in the Game View
Reproducible with: 2020.1.0b12 (8.0.1, 8.1.0), 2020.2.0a14 (8.1.0, 9.0.0-preview.14)
Not reproducible with: 2018.4.23f1 (4.10.0-preview), 2019.3.0f1 (7.1.5, 7.1.6), 2019.4.0f1 (7.3.1, 7.4.1)
Note:
- tested and reproduces with Vulkan, D3D11, D3D12, OpenGLCore, OpenGLES2 and OpenGLES3 graphics APIs
- tested and reproduces in both Player and Editor
- if CustomRenderPass.renderPassEvent is set to:
-- RenderPassEvent.AfterRendering / AfterRenderingPostProcessing / AfterRenderingTransparents / BeforeRenderingPostProcessing - Game View is displayed completely black
-- RenderPassEvent.AfterRenderingOpaques / BeforeRenderingSkybox - all GameObjects except the ones with Transparent material are displayed black
-- RenderPassEvent.AfterRenderingSkybox / BeforeRenderingTransparents - all Game View except the GameObjects with Transparent material are displayed black
the issue does not reproduce with other Render Pass Events
Workaround:
- if RequiresIntermediateColorTexture method returns false, the CameraColorTarget is set to BuiltinRenderTextureType.CameraTarget even if there are one or more Renderer Features in the project, however, RequiresIntermediateColorTexture will return true if features like Post-processing, Msaa, Opaque textures, or HDR are enabled, hence, enabling any of them will fix the issue
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
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
- Graphics.DrawProceduralIndirect and Graphics.DrawProceduralNow silently dropped on DX12
Resolution Note (fix version 10.0.0):
The issue was fixed and should no longer reproduce in Universal RP version 10.0.0-preview.26 and above