Search Issue Tracker
Fixed
Votes
0
Found in
2023.3.0a18
6000.0.0b11
Issue ID
UUM-64073
Regression
No
[URP][RG] Warning thrown when RenderTexture has Depth Stencil Format set to None
Steps to reproduce:
1. Open the attached project
2. Observe the console
Manual steps:
- Open a URP project
- Create a Render Texture
- Set its Depth Stencil Format to None
- Select the Main Camera
- Set its Output Texture to the RT from step 2
- Observe the console
Note: This message appears even if the Camera has Depth Texture set to None
Note: This issue coincides with the change that enables Render Graph by default so perhaps the issue is the wording of the warning rather than the warning itself.
Actual results: A confusing warning is logged.
Trying to render to a rendertexture without a depth buffer. URP+RG needs a depthbuffer to render.
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:148)
Expected results: Either no warning if it is not required or a better-phrased warning.
Reproducible with versions: 2023.3.0a18, 2023.3.0b7
Not reproducible with versions: 2023.3.0a17{}{}
Tested on (OS): Mac OS Sonoma 14.3
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Fixed by another internal issue: UUM-72935: Warning about missing Depth for a RenderTexture needs to be improved