Search Issue Tracker

Fixed

Fixed in 2018.4, 2019.4, 2020.2

Votes

3

Found in

2017.4

2018.4

2019.3

2019.3.3f1

2020.1

2020.2

Issue ID

1223896

Regression

No

Crash on D3D12SwapChain::CreateHWND when CreateSwapChainForHwnd returns E_INVALIDARG

Windows

-

Reproduction steps:
1. Open user's attached project "vfxgraphcrash"
--crash

Reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.4f1, 2020.1.0b1, 2020.2.0a2

Tested with:
Radeon™ Pro WX 9100
Reproducible with drivers: 18.50.02
Not reproducible with drivers: 19.Q4.1

Stack trace:

0x00007FF79438B98C (Unity) D3D12SwapChain::CreateHWND
0x00007FF794388280 (Unity) D3D12Window::D3D12Window
0x00007FF7943B4DAF (Unity) GfxDeviceD3D12Base::CreateGfxWindow
0x00007FF79440FD61 (Unity) GfxDeviceWorker::RunCommand
0x00007FF794412D0C (Unity) GfxDeviceWorker::RunExt
0x00007FF7944130F8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF7952A1983 (Unity) Thread::RunThreadWrapper
0x00007FF970437BD4 (KERNEL32) BaseThreadInitThunk
0x00007FF97058CED1 (ntdll) RtlUserThreadStart

  1. Response avatar

    Resolution Note (fix version ):

    Fixed by AMD and no longer reproducible with their newest drivers (20.Q3.1)

Comments (5)

  1. Ee4af4b3cfa0bb3fe29185aa3bb8b706?d=mm

    JohnBenard

    Sep 29, 2020 05:18

    This crash still exists with the 20.9.1 AMD Driver. I have a AMD Radeon RX 580.

    But I confirm the message from "CHRISTIANSCHL".
    The crash doesn't happen if the settings is set to Standard !

  2. C6855d0ff076157c552dfb5beb8c82fb?d=mm

    unity_dn7k0hEaOzg_2w

    Jul 27, 2020 10:47

    Direct3D 12 don't support creating MSAA swap chains--attempts to create a swap chain with SampleDesc.Count > 1 will fail

    Still exists in 2020.1f1

  3. 27f13a7a49984d2e4caa3b5859ba90b8?d=mm

    juloef

    Mar 19, 2020 11:50

    It exists on Linux (Manjaro) with Mesa drivers for Radeon RX 580 on Unity 2019.3.3f1.

  4. 41f35b441a30c2fd42a503389f68f178?d=mm

    ChristianSchl

    Mar 15, 2020 06:42

    AMD Radeon RX 580
    Driver: 20.2.2

    Had same issue after updating Radeon driver.
    Crash doesn't happen if settings in Radeon Software -> Performance -> Advisors is set to Standard.
    Can reproduce crash by using Gaming or eSports settings.

  5. 4115287ccc2eac225632c71d9c12cdf9?d=mm

    MartinWorker

    Mar 09, 2020 11:08

    its still exists with 20.2.2. AMD driver (with AMD RADEON 480)

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.