Search Issue Tracker

Duplicate

Votes

1

Found in

2021.3.16f1

2022.2.4f1

2023.1.0b1

2023.2.0a1

Issue ID

UUM-24715

Regression

Yes

Crash on D3D12GetInterface when entering/exiting the Play Mode

--

-

Reproduction steps:
1. Open the attached “CrashRepro” project
2. Enter the Play Mode
3. If Unity Editor didn’t crash, exit the Play Mode

Expected result: Unity Editor enters/exits the Play Mode
Actual result: Unity Editor crashes

Reproducible with: 2021.3.17f1, 2022.1.0a16, 2022.1.24f1, 2022.2.0a1, 2022.2.0a2
Not reproducible with: 2020.3.44f1, 2022.1.0a1, 2022.1.0a15, 2022.2.0a5, 2022.2.4f1, 2023.1.0b1
Couldn’t test with: 2022.2.0a3 - 2022.2.0a4 (couldn’t test because Unity Editor crashes when opening the project)

Reproducible on: Windows 11 Pro 22H2

First lines of the stack trace:

{noformat}0x00007FF82F82489B (D3D12Core) D3D12GetInterface
0x00007FF7B1E1EB56 (Unity) D3D12ComputeCapableCommandList::SetPipelineState
0x00007FF7B1E1EF98 (Unity) D3D12ComputeState::Transition
0x00007FF7B1E152D9 (Unity) D3D12CommandListWithState::ApplyStateCompute
0x00007FF7B1E41DB1 (Unity) GfxDeviceD3D12Base::DispatchComputeProgram {noformat}

Note: 2022.2.0a1, 2022.2.0a2 reproduced when downgrading packages

  1. This is a duplicate of issue #UUM-22222

    Crash on D3D12GetInterface when opening the project
  1. Resolution Note:

    DX12: Fix for D3D12GetInterface Editor crash when entering/exiting Play Mode with invalid buffer in compute shader.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-22222

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.