Search Issue Tracker

Fixed

Fixed in 2022.3.23f1, 6000.0.0b11

Votes

2

Found in

2022.3.10f1

2023.1.14f1

2023.3.0b9

6000.0.0b11

Issue ID

UUM-49240

Regression

Yes

[Linux][URP] Crash on GfxFramebufferGLES::Clear when entering the Play Mode when all Renderer Features are disabled, Native RenderPass and MainCamera's Depth Texture is enabled

--

-

Reproduction steps:
1. Create a new 3D (URP) project
2. In the Project window, open the “Assets/Scenes/SampleScene.unity” scene
2. In the Project window, click on “Assets/Settings/URP-HighFidelity-Renderer.asset”
3. In the Inspector window, enable “Native RenderPass”
4. In the Inspector window, disable all Renderer Features
5. In the Hierarchy window, select “MainCamera” GameObject
6. In the Inspector window, set “Depth Texture” to “On”
7. Enter the Play Mode

Expected result: Unity Editor enters the Play Mode
Actual result: Unity Editor crashes

Reproducible with: 2022.2.0a8, 2022.3.10f1, 2023.1.14f1, 2023.2.0a17
Not reproducible with: 2021.3.30f1, 2022.2.0a7
Fixed in: 2023.2.0a18

Reproducible on: Ubuntu 23.04
Not reproducible on: Windows 10 Pro 22H2

First lines of the stack trace:
#2 0x0055f4358f6c6f in GfxFramebufferGLES::Clear(GfxClearFlags, ColorRGBAf const&, float, int, bool)
#3 0x0055f4358d1210 in GfxDeviceGLES::ClearMRT(GfxClearFlags, ColorRGBAf const*, int, unsigned int, float, unsigned int)
#4 0x0055f43560847c in GfxDevice::NextSubPassImpl()
#5 0x0055f435607d81 in GfxDevice::BeginRenderPassImpl(RenderPassSetup const&)
#6 0x0055f4350f615c in RenderPassContext::Execute(dynamic_array<std::pair<ShaderLab::FastPropertyName, RenderTexture*>, 0ul>*)

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.