Search Issue Tracker

Fixed

Fixed in 2018.4.X, 2019.4.X, 2020.2.X

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. Resolution Note:

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

Comments (5)

  1. Isabit-Studio_Linuxydable

    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. PaulDyatlov

    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. juloef

    Mar 19, 2020 11:50

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

  4. 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. 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.