Search Issue Tracker

Fixed

Fixed in 2022.2.3f1, 2023.1.0b1

Votes

0

Found in

2022.2.0f1

2023.1.0a19

Issue ID

UUM-20089

Regression

Yes

Crash on aligned_free when generating lighting

--

-

Reproduction steps:
1. Open the attached project “CrashRepro”
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Click Window > Rendering > Lighting
4. In the Lighting window, click “Generate Lighting”

Expected result: Lighting is generated
Actual result: Unity Editor crashes

Reproducible with: 2022.2.0a9, 2022.2.0f1, 2023.1.0a8, 2023.1.0a19
Not reproducible with: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0a5, 2023.1.0a5, 2023.1.0a6
Couldn’t test with: 2022.2.0a6 (Crash on MonoBehaviou::AwakeAfterREstoreFromBackup when downgrading packages), 2022.2.0a7-2022.2.0a8 (Crash on GfxDeviceD3D12Base::UpdateComputeResources when starting the project), 2023.1.0a1-2023.1.0a4 (crash on VFXBatchedEffect::AddInstance when starting the project), 2023.1.0a20-2023.1.0a21 (FailedConvertingLightCookie error)

Reproducible on: Windows 11 Pro 21H2

First lines of the stack trace:

{noformat}0x00007FF6B4958665 (Unity) aligned_free
0x00007FF6B1DB4550 (Unity) MemoryManager::Deallocate
0x00007FF6B1DB422A (Unity) MemoryManager::Deallocate
0x00007FF6B1DBCC6A (Unity) free_alloc_internal
0x00007FF6B375AB8A (Unity) BakeJobLightCookies::Execute{noformat}

Note: Reimport the project on every version

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.