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
- Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
- Addressables Profiles window UI break when creating a new Variable with a long name
- No character limit when renaming Profile in Addressables Profile window, allowing excessively long names
- Blurry, low quality Active Profile icon used in Addressables Profiles window
- Tree Asset Preview window is not updated after assigning a new Material
Resolution Note:
Fixed by another internal issue: UUM-72935: Warning about missing Depth for a RenderTexture needs to be improved