Persistent Crash on Build with 2021.3.34 HDRP

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!

9775428–1401348–crash.dmp.txt (3.03 MB)
9775428–1401351–Editor.log.txt (141 KB)

First I’d try deleting the Library folder. Coffee break and it might be gone. :wink:

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.

1 Like

Hello, I switched to DX11 and it looks fine so far. Thank you so much!