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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Resolution Note:
Fixed by another internal issue: UUM-72935: Warning about missing Depth for a RenderTexture needs to be improved