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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed by another internal issue: UUM-72935: Warning about missing Depth for a RenderTexture needs to be improved