Search Issue Tracker

Active

Under Consideration for 2022.2.X

Votes

0

Found in

2022.2.0b9

Issue ID

UUM-16284

Regression

No

Crash on BatchRendererGroup::OnBeforeCulling when building with IL2CPP

--

-

Reproduction steps:
1. Open the user’s attached project
2. Click File > Build and Run

Expected result: Build is created with IL2CPP backend
Actual result: Unity Editor crashes

Reproducible with: 2022.2.0b6, 2022.2.0b9
Couldn’t test with: 2020.3.40f1, 2021.3.11f1, 2022.2.0b4 (couldn’t test because com.unity.entities.graphics package is not supported), 2022.2.0b5, 2022.2.0b10, 2023.1.0a14 (couldn’t test because of the BuildFailedException)

Reproducible on: Windows 11 Pro 21H2

First lines of the stack trace:

{noformat}0x00007ff795ecb070 (Unity) BatchRendererGroup::OnBeforeCulling
0x00007ff795f5fc3b (Unity) CullScene
0x00007ff7961389e1 (Unity) CullScriptable
0x00007ff795565f6b (Unity) ScriptableRenderContext_CUSTOM_Internal_Cull_Injected
0x000001fd94b8ef08 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Internal_Cull_Injected (UnityEngine.Rendering.ScriptableCullingParameters&,UnityEngine.Rendering.ScriptableRenderContext&,intptr){noformat}

Note: Doesn’t crash with Mono Scripting Backend

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.