Unity Issue Tracker - Crash on BufferD3D12::BeginWrite when changing the Graphics API to DirectX12 and Scripting Backend to IL2CPP and reopening the project
Fixed
UUM-47661
Crash on BufferD3D12::BeginWrite when changing the Graphics API to DirectX12 and Scripting Backend to IL2CPP and reopening the project
Reproduction steps:
1. Open the user attached "project-test-crash.zip" project
2. Switch the Default Graphics API to DirectX12
3. Switch the Scripting Backend to IL2CPP
4. Close and reopen the project
Expected results: The Editor does not crash
Actual results: The Editor crashes
Reproducible with: 2022.2.20f1, 2023.1.6f1, 2023.3.0a9
Not reproducible with: 2022.1.14f1
Reproducible on: Windows 11 (reported by the user)
Not reproducible on: No other environment tested
First few lines of the stack trace:
0x00007FFE34A67A1D (Unity) BufferD3D12::BeginWrite
0x00007FFE347FABAF (Unity) GfxDevice::UpdateBufferRanges
0x00007FFE361074BD (Unity) GfxDeviceWorker::RunCommand
0x00007FFE3610A96B (Unity) GfxDeviceWorker::RunExt
0x00007FFE3610AA88 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
Notes:
Not reproduced by CQA
Prioritise and Follow this issue
Have a workaround or additional info about this issue?