Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

0

Found in

6000.0.36f1

6000.1.0b3

Issue ID

UUM-95348

Regression

No

Crash on SendShadowCullingCallbacks when using ScriptableRenderContext.Cull()

-

Reproduction steps:
1. Open the attached project "CrashPROJECT"
2. Open “SCENE“ scene
3. Select “RPASSET“ in the project window and enable “Global Illumination“
4. Enter and exit Play mode until crash
5. Resizing the Game View viewport, disabling and reenabling “Global Illumination“ in “RPASSET“ and other actions that rerender the game view can also cause it to crash

Expected result: Playmode starts/stops without crashing.
Actual result: Editor crashes

Reproducible with: 6000.0.36f1, 6000.1.0b3
Couldn’t test with: 2022.3.56f1 - package errors

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

Note: Upgrading the project to 6000.0.36f1 made the crash extremely rare and took an hour to reproduce it locally. On the reported version or upgraded to 6000.1.0b3 only takes a few minutes at most.

First few lines of stack trace:

{noformat}0x00007FFF158055C9 (Unity) SendShadowCullingCallbacks
0x00007FFF15A741A2 (Unity) PrepareDrawShadowsCommandStep1
0x00007FFF15A702E8 (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x00007FFF15081FD4 (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal
0x000002574E01FF03 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal (UnityEngine.Rendering.ScriptableRenderContext&)
0x000002574E01FE43 (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Submit (){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.