Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.10f1, 2023.1.13f1, 2023.2.0b8, 2023.3.0a4
Votes
1
Found in
2021.3.29f1
2022.3.7f1
2023.1.8f1
2023.2.0b5
Issue ID
UUM-46685
Regression
Yes
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}
Notes:
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)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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