Search Issue Tracker

Active

Votes

0

Found in

2022.3.55f1

Issue ID

UUM-91760

Regression

No

Errors when rendering a camera to render texture with only depth

--

-

Reproduction steps:
1. Open the attached “DepthShadows.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the Console

Expected result: No errors are present
Actual result: RenderPass errors are being thrown

Errors:
”RenderPass: Attachment 0 is declared as depth attachment but BGRA8 sRGB is not a valid depth format.
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
BeginSubPass: Not inside a Renderpass
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
EndRenderPass: Not inside a Renderpass
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,UnityEngine.Object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)”

Reproducible with: 2022.3.55f1, 2023.3.0a16
Not reproducible with: 2023.3.0b10, 6000.0.33f1, 6000.1.0a10
Fixed in: 2023.3.0a17

Reproducible on: M1 Max MacOS 15.1.1
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.