Search Issue Tracker

Fixed

Fixed in 2022.3.16f1

Votes

0

Found in

2022.3.15f1

Issue ID

UUM-69644

Regression

No

[URP] Crash on PrepareDrawShadowsCommandStep1 when changing or deleting a URP Renderer Asset

--

-

Steps to reproduce:
1. Open the attached “URP Template.zip” project
2. Observe the crash

Reproducible with versions: 2022.3.15f1
Not reproducible with versions: 2021.3.37f1, 2022.3.24f1, 2023.2.19f1, 6000.0.0b15
Fixed in: 2022.3.16f1

Reproducible on: macOS Sonoma 14.3.1 (Intel), Windows 11 (by the reporter)
Not reproducible on: no other environment tested

Notes: The project started crashing after deleting a URP Renderer Asset that was in use or when changing the Renderer Asset to a different one.

First few lines of Stack Trace:

{noformat}0x00007ff7d2ae4151 (Unity) PrepareDrawShadowsCommandStep1
0x00007ff7d2adb507 (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x00007ff7d1f28809 (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal_Injected
0x0000016e6ab94c5a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&)
0x0000016e6ab94b8b (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal (){noformat}

{noformat}#0 0x00000109e33f37 in SendShadowCullingCallbacks(CullingOutput const&, ShadowCullData const&, SharedLightData const&, bool&)
#1 0x0000010a09c4be in PrepareDrawShadowsCommandStep1(ShadowDrawingSettings const*, unsigned int, JobBatchDispatcher&, bool&)
#2 0x0000010a0a47f0 in ScriptableRenderContext::ExecuteScriptableRenderLoop()
#3 0x00000207a5e989 in (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&) [{0x7f9c7ac71930} + 0xb9] (0x207a5e8d0 0x207a5ea67) [0x15ab3ea80 - Unity Child Domain]
#4 0x000001ff317323 in UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) [{0x7f9c79aaae08} + 0x423] [./Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/Runtime/UniversalRenderPipeline.cs :: 541u] (0x1ff316f00 0x1ff31737d) [0x15ab3ea80 - Unity Child Domain]{noformat}

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.