Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Persistent Crash on Build with 2021.3.34 HDRP

Discussion in 'Windows' started by ZenWayne, Apr 17, 2024.

  1. ZenWayne

    ZenWayne

    Joined:
    May 8, 2020
    Posts:
    20
    Hello,

    I am experiencing consistent crashes during the build process with Unity 2021.3.34 HDRP on Windows 11.

    Previously, the build process was functioning without any issues. The problems began after I modified a setting in the Windows Security Center (I enabled Kernel Isolation) and then restarted my computer. Even after disabling Kernel Isolation again, the issue persists.

    I noticed in the crash report that the issue might be related to nvwgf2umx.dll, but I haven't been able to pinpoint the exact cause.

    Additionally, since I cannot fully confirm whether I had modified any other settings, I restored the ProjectSettings folder to a version from days ago. After this restoration, I launched the editor, encountered an error, and then opened it in Safe Mode to fix the error (I removed a symbol from Scripting Define Symbols for a third-party plugin that I had deleted yesterday). Following this, the editor automatically switched back to normal mode, and I was able to build without any issues. However, if I restart the editor, the same crash occurs again.

    Please advise on how I might resolve this issue or if there are any further steps I should take to help diagnose the problem.

    Thank you!
     

    Attached Files:

  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,932
    First I'd try deleting the Library folder. Coffee break and it might be gone. ;)

    Did you try reinstalling the Nvidia driver?
    I would switch to the Studio drivers, not Game Ready, since it's supposed to be more stable and reliable for work tasks. This may actually make a difference when working with DX12. If you don't use DX12 features it might be worthwhile to consider reverting to DX11.

    Since you are on 2021 and particularly because you use DX12 (wasn't it still experimental/preview in 2021?) it would make sense to at least try building with a newer Unity version to see if that makes a difference. Including Unity 6 beta.
     
    ZenWayne likes this.
  3. ZenWayne

    ZenWayne

    Joined:
    May 8, 2020
    Posts:
    20
    Hello, I switched to DX11 and it looks fine so far. Thank you so much!