Unreal Engine 5.6.1 is intermittently crashing when I try to open performance settings or opening a game level. This problem exists for 5.6.0, as I initially had this problem on 5.6.0 and updated to 5.6.1 to try to resolve the issue. This problem occurs on different projects as well, as this crash occurred on a brand-new Blank project as well as a development project. I have not had these crashes up until today, 5.6.0 and prior versions have typically worked well on my system until today.
Attempted Solutions:
-
Rebooted computer
-
Updated from 5.6.0 to 5.6.1
-
Verified 5.6.1 installation using Epic Games Launcher (5.6.0 had a greyed-out Verify button, so I could not verify 5.6.0’s installation for some reason.)
-
Searched online, found potential fixes on this forum thread
-
Completely uninstalled and reinstalled 5.6.1
-
Deleted cache located in AppData/Local and allowed 5.6.1 to regenerate cache by launching Unreal again
-
Combined the last two solutions at the same time (deleted both cache and 5.6.1 installation, then reinstalled)
None of the above solutions have fixed my Unreal crashes. The attached link above shows the solution was replacing a corrupted asset, but if that is the case, how do I find and replace said asset(s)? Several assets were corrupted when I attempted to re-organize folders a couple weeks or so back, but no crashes had yet occurred until today.
I would appreciate any help!
Crash Log:
Hello there @Bibletech55 !
I see you have tested quite a few methods for resolution here, and even if the thread you found has a few valid entries, I think your issue here is not quite the same. Your log entries do not suggest the presence of corrupted assets. Instead, they aim at a graphics conflict:
EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000028
nvwgf2umx
D3D12Core
This means the crash is most likely tied to nVidia elements and DirectX12. It would also explain why it’s affecting even blank projects, or being triggered when you adjust performance settings.
So, I would suggest using DDU to remove your current set of drivers, then installing the Studio version of nVidia’s laters graphics. Studio are the most stable ones for engine work. Once completed, restart your system and test a blank project again. If the issue persists, test opening UE with the -dx11 tag, in order to force DX11, and rule out issues with DX12.
Another option is to give your GPU a bit of breathing room before the crash, by setting up a TDR delay in Windows Reg. You can follow the steps for this method in the following UE doc.
1 Like
Thank you for your thorough analysis!
DirectX 12 seems to be related to this crash. I think you’re absolutely right about DirectX 12, given both the elements of the log you cited, and my own tests I ran yesterday. I tested launching Unreal Engine with the -d3d11 launch tag in Unreal’s shortcut, and this crash does not occur while using Direct3D 11! (I only had one crash using Direct3D 11, but that crash listed a different GPU error, and I have not yet had that crash again while using Direct3D 11. Unreal is extremely stable using Direct3D 11!)
Is there anything I need to do alongside updating my graphics driver to resolve a DirectX 12 issue? I may be able to use Direct3D 11 to run Unreal for now, but I may need to fix the DirectX 12 problem with Unreal in case there is a deeper issue with my DirextX 12 installation I’m unaware of.
Glad that was helpful for your issue! As for actions to take about it, since DX11 works as intended, that rules out issues with your system itself, meaning there’s no need to touch anything there. What’s needed here for sure is the cleanup and reinstall of your current driver set, so you can use DX12 again, and be able to use it’s related features, like Lumen and Nanite.
As stated before, use DDU to clear up your current install, then install the Studio version of nVidia’s latest drivers. That should allow you to use DX12 as intended. One more thing to do, would be to clear up UE’s shader cache, which can be done by going to your LocalData folder, and deleting contents from the following folders:
%LOCALAPPDATA%\UnrealEngine\Common\DerivedDataCache
%LOCALAPPDATA%\UnrealEngine\Engine\ShaderCache