question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build 4.24.3 on Windows and also building build-prerequisites

See original GitHub issue
ue4-docker version:         0.0.58 (latest available version is 0.0.58)
Operating system:           Windows Server 2019 Datacenter Version 1809 (OS Build 17763.1039)
Docker daemon version:      19.03.5
NVIDIA Docker supported:    No
Maximum image size:         200GB
Available disk space:       629.78 GiB
Total system memory:        31.89 GiB physical, 43.36 GiB virtual
Number of processors:       20 physical, 40 logical

Hi, I’m trying to build a custom build version of the engine (some small change), using ue4docker-build:

ue4-docker.exe build custom:4.24.3 -repo=https://custom.repo/UnrealEngine.git -branch="4.24" --exclude debug --exclude templates --rebuild --pull-prerequisites

And this is the error I get

[ue4-docker build] Building image "adamrehn/ue4-engine:4.24.3-ltsc2019"...
Sending build context to Docker daemon  3.072kB
Step 1/8 : ARG NAMESPACE
Step 2/8 : ARG TAG
Step 3/8 : ARG PREREQS_TAG
Step 4/8 : FROM ${NAMESPACE}/ue4-source:${TAG}-${PREREQS_TAG}
 ---> e259007d2ddd
Step 5/8 : RUN GenerateProjectFiles.bat && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.
 ---> Running in 79a57e58896c
Setting up Unreal Engine 4 project files...

GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects.  Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script.

Press any key to continue . . .
The command 'cmd /S /C GenerateProjectFiles.bat && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.' returned a non-zero code: 1
[ue4-docker build] Error: failed to build image "adamrehn/ue4-engine:4.24.3-ltsc2019".

Moreover, I tried to remove the --pull-prerequisites flag from the CLI, and I’m also unable to build the build-prerequisites image

[ue4-docker build] Building image "adamrehn/ue4-build-prerequisites:ltsc2019"...
Sending build context to Docker daemon  1.849MB
Step 1/27 : ARG BASEIMAGE
Step 2/27 : FROM ${BASEIMAGE} AS dlls
 ---> 1afb4e8593d8
Step 3/27 : SHELL ["cmd", "/S", "/C"]
 ---> Using cache
 ---> c98fd22a1475
Step 4/27 : LABEL com.adamrehn.ue4-docker.sentinel="1"
 ---> Using cache
 ---> 28fa933f2d36
Step 5/27 : RUN mkdir C:\GatheredDlls && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.
 ---> Using cache
 ---> 9b94cb19cb3d
Step 6/27 : RUN powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.
 ---> Running in e86caa32b6b4
Getting latest version of the Chocolatey package for download.
Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.15.
Downloading 7-Zip commandline tool prior to extraction.
Extracting C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocInstall...
Unable to unzip package using 7zip. Perhaps try setting
$env:chocolateyUseWindowsCompression = 'true' and call install again. Error:
7-Zip signalled an unknown error (code -1073741502)
At line:220 char:15
+ ...   default { throw "$errorMessage 7-Zip signalled an unknown error (co ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Unable to unzip...de -1073741
   502):String) [], RuntimeException
    + FullyQualifiedErrorId : Unable to unzip package using 7zip. Perhaps try
   setting $env:chocolateyUseWindowsCompression = 'true' and call install aga
  in. Error: 7-Zip signalled an unknown error (code -1073741502)

The command 'cmd /S /C powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.' returned a non-zero code: 1
[ue4-docker build] Error: failed to build image "adamrehn/ue4-build-prerequisites:ltsc2019".

Thank you again for this project 👍

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
adamrehncommented, Dec 18, 2020

@muit I’ve added a note to the troubleshooting section of the docs to cover this. The irony is not lost on me that I’m recommending that users install all available Windows updates when it was a security patch that introduced the bug in the first place, of course.

0reactions
muitcommented, Dec 17, 2020

FYI: got this errors again with windows server 2019 freshly installed. Turns out the version distributed as ISO is outdated (17763.700 more or less). After updating it to 17763.1637 everything went smoothly.

Maybe worth adding to the docs

Read more comments on GitHub >

github_iconTop Results From Across the Web

Engine 4.24.3 error compiling from source
Hello, I am trying to install unreal engine 4.24.3 from source, but are running into some issues. I've tried reinstalling my vs2019 several ......
Read more >
F.A.Q. - CARLA Simulator - CARLA Documentation
Here is a list of the most likely reasons why: Run Unreal Engine 4.24. Something may have failed when building Unreal Engine. Try...
Read more >
August 9, 2022—KB5016623 (OS Build 17763.3287)
This is a standalone, security update. Windows 8.1 and newer clients and Windows Server 2012 and newer servers must install this update ...
Read more >
Building On Linux | Unreal Engine Community Wiki
Create another user account on your system and build and run using that account. Prerequisites. As per Epic's FAQ minimum system requirements ......
Read more >
Runtime error in packaged build, can't find Houdini module
Package the project for Win64; Run the packaged .exe and get an error window stating: “Plugin 'HoudiniEngine' failed to load because module ' ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found