Search Issue Tracker


Under Consideration for 2021.3.X, 2022.3.X



Found in




Issue ID




Crash on PrepareDrawShadowsCommandStep1 when selecting a camera while the Occlusion Culling window is open



Reproduction steps:
1. Open the user's attached project
2. Open Scene 'Assets/xddxxx'
3. Open 'Window -> Rendering -> Occlusion Culling' from the top menu
4. In the Occlusion Culling window in Scene view, select 'Visualize' from the drop-down menu
5. Select 'Camera' in the Scene Hierarchy

Expected result: The Occlusion Culling window updates with options for that camera
Actual result: The Editor crashes

Reproducible with: 2020.3.34f1, 2021.3.2f1, 2022.2.0a13, 2023.2.0a9
Could not test with: 2019.4.39f1 (package errors), 2022.1.0f1 (empty error)

- On some machines, the bug is not reproducible on some versions (e.g. 2021.2.5f1)
- While it looks that the bug should be reproducible, having a single error makes it not reproducible

0x00007ff606754861 (Unity) PrepareDrawShadowsCommandStep1
0x00007ff60674c35d (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x00007ff605d710df (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal_Injected
0x000001d5320827da (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&)

Comments (3)

  1. Arlorean

    Jan 20, 2024 12:15

    I'm getting this on startup in 2022.3.16f1 (LTS) and also in 2022.3.17f1 (LTS), but one call down from that. I can't even start Unity now on my project.

    ========== OUTPUTTING STACK TRACE ==================

    0x00007FF713B81E34 (Unity) SendShadowCullingCallbacks
    0x00007FF713DA96A1 (Unity) PrepareDrawShadowsCommandStep1
    0x00007FF713DA08BE (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop

  2. jeepee-ef

    Dec 18, 2023 11:02

    Is there any known workaround for this issue? It currently keeps me from delivering to clients...I'm having this issue in 2022.3.14f, I keep getting random crashes on the following

    Unity.exe!SendShadowCullingCallbacks(struct CullingOutput const &,struct ShadowCullData const &,class SharedLightData const &,bool &)

  3. pixelsplit

    Jul 31, 2023 15:34

    Also happens in 2022.3.5

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.