Okay, the error message "DirectX Agility SDK runtime not found" during packaging in Unreal Engine 5.5 usually means that the necessary Agility SDK files that need to be included in your packaged game couldn't be located by the engine on your development machine.
The DirectX Agility SDK allows Unreal Engine (and other applications) to use the latest DirectX features (especially DX12 Ultimate features) even if the end-user has an older version of Windows (as long as their graphics driver supports the feature level). UE5 includes these files as part of its distribution, and the packaging process needs to copy them into your final build.
The most common reasons for this error are:
- Incomplete or Corrupted Engine Installation: The Agility SDK files might be missing or damaged in your UE5.5 installation.
- Files Blocked by Antivirus/Firewall: Less common, but security software could potentially interfere.
Here's how to resolve it, starting with the most likely fix:
Solution 1: Verify Your Engine Installation (Most Recommended)
This is the most common fix. The Epic Games Launcher can check your engine installation for missing or corrupted files and redownload them.
- Close Unreal Engine 5.5 and the Epic Games Launcher completely.
- Open the Epic Games Launcher.
- Go to the "Library" tab.
- Find your installed Unreal Engine 5.5 version.
- Click the dropdown arrow next to the "Launch" button for that engine version.
- Select "Verify".
- Let the verification process complete. It might take some time as it checks all the engine files. If it finds issues, it will automatically download the missing/corrupted ones.
Once verification is done, restart the Epic Games Launcher, open your project in UE5.5, and try packaging again.
Solution 2: Reinstall the Engine (If Verify Fails)
If verification doesn't fix it, a full clean reinstall might be necessary.
- Close Unreal Engine 5.5 and the Epic Games Launcher.
- Open the Epic Games Launcher.
- Go to the "Library" tab.
- Find your installed Unreal Engine 5.5 version.
- Click the dropdown arrow next to the "Launch" button.
- Select "Uninstall".
- Once uninstalled, click the "+" button under "Engine Versions" and select Unreal Engine 5.5 to install it again.
- Ensure you have enough disk space and a stable internet connection for the download.
After reinstalling, try packaging again.
Solution 3: Check System Requirements / Windows Updates
While the Agility SDK is for compatibility, ensure your development environment meets the minimum requirements for UE5.5. UE5.5 generally requires Windows 10 version 1909 or later. Ensure your Windows is reasonably up-to-date.
Solution 4: Check Antivirus/Firewall
Temporarily disable your antivirus or firewall (be cautious when doing this) and try packaging. If it works, you'll need to figure out how to add an exception for the Unreal Engine installation directory or the packaging process executable (UnrealEditor-Cmd.exe). Remember to re-enable your security software afterwards.
Solution 5: Clean Project Build
Sometimes residual build files can cause issues.
- Close your Unreal Engine project.
- Navigate to your project folder in File Explorer.
- Delete the following folders:
Binaries
Intermediate
Saved (You can delete this, but be aware it contains editor settings, unsaved levels auto-saves, etc. Deleting Binaries and Intermediate is usually sufficient).
- Reopen your project. Unreal Engine will regenerate these folders.
- Try packaging again.
Start with Solution 1, as it's the easiest and most likely fix for missing engine files. Good luck!