Search Issue Tracker

By Design



Found in






Issue ID




[URP] View from main Camera is not rendered when Opaque Texture is enabled



Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open URP.asset in the Inspector window (/Assets/Settings/URP.asset)
4. Enable Opaque Texture
5. Observe the Game view

Expected result: Sphere, background, and text “New Text” is present
Actual result: A black screen with the text “New Text“ is present

Reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.1f1, 2023.3.0a16

Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

- Reproducible in Editor with Windows and Android platforms
- Reproducible with Android Player and Windows Standalone Player
- Reproducible with Vulkan and OpenGLES3

  1. Resolution Note:

    When layering cameras you need to use the camera stacking functionality. This is because we do not guarantee the same buffer is used between cameras unless you are using stacking - it is working in your base case by virtue of luck because the temporary render texture allocator is returning the same texture for the base and UI, when you turn on opaque texture capture this chance is broken.

    To resolve this issue set your UI camera to overlay mode and set this as an overlay within the base camera list.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.