Search Issue Tracker

In Progress

Fixed in 2022.3.10f1, 2023.1.13f1, 2023.2.0b8

Fix In Review for 2021.3.31f1, 2023.3.X



Found in





Issue ID




Crash on GfxDevice::ExecuteAsync when light source shadows are enabled with BuiltIn and SRP materials in the Scene with the default Scriptable Render Pipeline



Reproduction steps:
1. Open the attached project “CrashRepro“
2. Click on “Directional Light“ in the Hierarchy window
3. Set Shadow Type to “Hard Shadows“

Expected result: Shadow type is set to “Hard Shadows“
Actual result: Editor crashes

Reproducible with: 2021.3.29f1, 2022.3.6f1, 2022.3.7f1, 2023.1.6f1, 2023.1.8f1, 2023.2.0b2, 2023.2.0b5
Not reproducible with: 2021.3.28f1, 2022.1.0a1, 2022.3.5f1, 2023.1.0a1, 2023.1.5f1, 2023.2.0a1, 2023.2.0b1

Reproducible on: Windows 10
Not reproducible on: No other environment tested

First few lines of stack trace:

{noformat}0x00007ff765a573e3 (Unity) GfxDevice::ExecuteAsync
0x00007ff765d450be (Unity) GfxDeviceClient::ExecuteAsync
0x00007ff765593436 (Unity) ForwardShaderRenderLoop::StartRenderJobs
0x00007ff76558e8fc (Unity) ForwardShaderRenderLoop::PerformRendering
0x00007ff76558aa97 (Unity) DoForwardShaderRenderLoop
0x00007ff76557a707 (Unity) DoRenderLoop{noformat}

Crashes when opening the Scene if shadows are already on.
Crash can be prevented by creating a Rendering Asset and assigning it as the Scriptable Render Pipeline (Edit > Project Settings > Graphics)

  1. Resolution Note (fix version 2023.2.0b8):

    Fixed a crash when enabling shadows in a scene with both Built-In render pipeline and SRP materials

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.