Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.62f1
Issue ID
UUM-105556
Regression
No
Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console
Expected result: No Errors exist
Actual result: Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present
Reproducible with: 2022.3.62f1
Not reproducible with: 6000.0.49f1, 6000.1.3f1, 6000.2.0b1
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Does not reproduce when Native RenderPass is disabled
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
- Unity Version Control window during "Create workspace" updates only when the mouse is moved
- Crash on AudioMixer::GetFloat when entering Play Mode in a specific project
- Test assembly files are not generated when using a local package included in a subdirectory
- URP Terrain Shaders are always included when building on any target platform
- Multiple errors thrown and Scene/Game view is not rendered when Lighting Override Mask is set to the same layer as the Volume
Resolution Note:
This issue only occurs with Unity 2022.3, and has been fixed in newer versions. Unity 2022.3 has reached the end of its long-term support period, so we are not going to fix the issue. Instead, we recommend upgrading to a more recent version of Unity.