Search Issue Tracker
By Design
Votes
0
Found in
2021.3.32f1
2022.3.14f1
2023.2.1f1
2023.3.0a16
6000.0.0b11
Issue ID
UUM-56653
Regression
No
[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
Notes:
- Reproducible in Editor with Windows and Android platforms
- Reproducible with Android Player and Windows Standalone Player
- Reproducible with Vulkan and OpenGLES3
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.