Search Unity

Bug d3d12 HDRP crashes

Discussion in 'General Graphics' started by Bartosz-Bieszka, Aug 21, 2022.

  1. Bartosz-Bieszka

    Bartosz-Bieszka

    Joined:
    Sep 12, 2015
    Posts:
    20
    Hello, I have a problem with HDRP and dx12, on dx11 everything is allright
    On Dx12 I have crashes all times, currently i'm using unity 2020.3.38f1 and still exists, where I can find solution? I have big project

     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    Could you try in 2021.3 and 2022.1 as well?
    In 2022 dx12 is out of experimental.

    Reporting a bug report probably is the best to get the issue seen (if you have done the regular like restarting PC, updating drivers, making sure you're not over your VRAM limit, and making sure your GPU supports dx12)
     
  3. c0d3_m0nk3y

    c0d3_m0nk3y

    Joined:
    Oct 21, 2021
    Posts:
    675
  4. Bartosz-Bieszka

    Bartosz-Bieszka

    Joined:
    Sep 12, 2015
    Posts:
    20
    I have problem before 2020 version or earlier, i don't know exactly. But still working with dx11.
    Unity 2022 doesn't work, I don't see any materials, now trying 2021
     
  5. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    Unity's support for DX12 isnt completely worked out (to say the least), and wont be for some time, stay with DX11 and save yourself the headache...
     
  6. Bartosz-Bieszka

    Bartosz-Bieszka

    Joined:
    Sep 12, 2015
    Posts:
    20
    I think is the best way
     
    warthos3399 likes this.
  7. dnach

    dnach

    Unity Technologies

    Joined:
    Mar 9, 2022
    Posts:
    90
    Hey!
    Any chance you can submit a bug report for the issues you are facing? For the materials issue in 2022, is it a case where you are unable to upgrade the project?
    As DevDunk mentioned above, the DX12 backend for 2022.2.0a17 and later is now stable and more performant, and thus officially out of preview. Please let us know and report if you find any issues.
     
    Last edited: Aug 23, 2022
  8. Bartosz-Bieszka

    Bartosz-Bieszka

    Joined:
    Sep 12, 2015
    Posts:
    20
    Hi, I tried again with uinity 2022 (2022.2.0b4) And still not working, template empty scene has the same problem. Primitive cube
    upload_2022-8-27_8-5-3.png
    upload_2022-8-27_8-5-15.png

    Edit: I Don't know what is going on but Unity 2022.x.x, (HDRP) SampleScene, Template doesn't work. Editor viewport (camera?) don't display anything
     
    Last edited: Aug 27, 2022
  9. Bartosz-Bieszka

    Bartosz-Bieszka

    Joined:
    Sep 12, 2015
    Posts:
    20
    Unity 2021.3.8f1 and 2022.1.14f1, The same problem :(
    Works only with Unity 2020.3.38
    upload_2022-8-27_8-25-6.png
     
    Last edited: Aug 27, 2022
  10. Megazorz

    Megazorz

    Joined:
    Mar 5, 2018
    Posts:
    14
    After much trial and error, I finally found out *MSI Afterburner* was crashing all my unity projects when I tried to enable D3D12. Also I changed all the graphic settings back to default in control panel and updated drivers several times. Are you running MSI Afterburner or something simular?
     
    DevDunk likes this.