Whenever I try to boot Unreal 5 it crashes at around 4% loading into the editor, I have previously had the program running, but as it was installed on a work computer I had to uninstall it due to space limitations. They’ve since provided me with a larger HDD and so I’ve reinstalled, but it won’t run.
I’ve installed both the Epic Games Launcher and Unreal Engine on the new D: drive. I’ve checked the location on the crash report and there is a file in the folder with that name, since it was only installed this morning I can’t see it as having been corrupted or anything.
Ok, so I’ve copied a file called dxilconv.dll from my System32 folder (C:\Windows\System32) and replaced the file in the folder listed above - keeping the original just in case. Edit: and renaming the copied file to simply dxil.dll - as per the original file.
Unreal now appears to boot into the editor.
Can someone let me know if this is an OK thing to do, or will it cause other issues further down the line?
First off, I appreciate this thread, it at least got me in the right direction as I was having the same problem.
First thing I did was attempt to run Verify against the installation. I figured at best, if anything was corrupted or missing the Verify process would/should fix it. In addition to properly registering the DLLS. Literally wasted 30 mins. So don’t do that.
I also tried what the original poster suggested. However, that didn’t work.
Here is what worked for me:
Copy the x64 version of the dxil.dll from C:\Program Files (x86)\Windows Kits\10\Redist\D3D\x64
Delete the original dxil.dll located here D:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\ThirdParty\Windows\DirectX\x64
Replace the dxil.dll with the one from the Win10 SDK x64 directory.
Not sure if this is a an overall bitness or a version issue, but it’s definitely annoying.
Hopefully either work-around assists anyone else having to deal with this.
Sorry, just realised I didn’t state that when I copied the file from the System32 folder to the Unreal folder that I did rename the file from ‘dxilconv.dll’ to ‘dxil.dll’.
Not that I’m suggesting you didn’t do this yourself, just that I didn’t mention it in my original solution; and so to make it complete should someone else have the same issue in the future.
I’ve just updated my rig and it came with windows 11 (Brand new PC, Ryzen 9 12 - core CPU, Nvidia RTX 3080 TI 12 GB). I’ve tried the above solution several times along with updating my GPU Drivers and it’s still crashing. Is this a Windows 11 thing?
Just to confirm your crash reporter shows the same thing (word for word) as posted above? I just want to be sure it’s the exact same issue, and there’s not a small difference somewhere in UE which could lead to something else being the cause.
Thanks for the reply! Yeah it’s the exact same issue, word for word. With this new PC I have to go to > Windows C: > System 32 > to find the dxilconv.dll file. There is no path on my PC that reads " *Program Files (x86)\Windows Kits\10\Redist\D3D\x64"
I then copied that file, deleted the original one from the Launcher folder and re named. Restarted and still got the same crash.
I would imagine the ‘windows kits’ solution may be in a different folder for you (presuming the ‘10’ refers to Windows 10) - I don’t know the file structure on Win11 and they could be located somewhere completely different.
Unfortunately I stopped looking into this issue once my solution worked, and so I’m not really sure of the underline cause. Have you tried uninstalling the Engine and Epic Launcher, and re-installing?
I’ve just read there’s an issue with UE5 and Windows 11 that relates to DirectX 12, and that maybe changing to DirectX 11 could be the solution?
I’ve had issues with unreal and windows because if you update windows periodically using the windows update feature in time some of the files unreal needs will not be installed.
ok this is a bad way to say this i will break this down.
you update every time windows tell you that you need to update.
all fine, windows works, unreal will maybe not work.
you use the offline windows updates exe. that one includes all the directx files that unreal needs
That makes sense. I’ve uninstalled and re installed a couple of times now and nothing. I’m going to give dorusoftware’s solution a try and see how that goes. I had a feeling it was a windows 11 issue. Thanks for responding though!
Hey PX54, wanted to give you an update. So, it turns out your solution is correct. Since I’m on windows 11, the place I needed to be was in (program files) and not (Program Files (86)). Everything is working now!
Yes, my solution is marked at the top, but others have found different possible solutions to their specific variation, and detailed their findings in their responses.