DirectX Runtime is required to run Packaged Game

I packaged my project with this setting turned on:
image

But when i try to launch the game on a clean machine, i get this error message:
image

How can i include DirectX Runtime in my packaged Game?

Are you running your game from .exe at the root of build folder? If so, afaik this proxy exe should automatically check prereqs status and run installation if they wasn’t found. If not - do so.

If it’s still doesn’t works for you, as a workaround - run PackagedGameRoot\Engine\Extras\Redist\en-us\UEPrereqSetup_x64.exe manually. The checkbox on your screenshot places this file into this path

1 Like

So i actually found the solution myself. Inside the commandlet that was executing the package, the line

-prereqs

was missing. As soon as i added it, the packaged version had the required prereq files.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.