# Automated build system errors (UE4Editor-X.dll missing)

**URL:** <https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076>\
**Category:** Platform & Builds\
**Tags:** automationtool, packaging-and-cookin, build, unreal-engine, question\
**Created:** [April 22, 2016, 1:07pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076 "2016-04-22T13:07:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2fc8a6ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2fc8a6ac](https://forums.unrealengine.com/u/anonymous_user_2fc8a6ac)\
**Post date:** [April 22, 2016, 1:07pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/1 "2016-04-22T13:07:08Z")

</div>

Hi,

since yesterday we are not able to cook a build on our automated build system. I don’t have a clue whats wrong.  
I think the important part is that (cook-2016.04.21-17.33.19.txt) :

```
LogInit:Warning: Incompatible or missing module: UE4Editor-ProjectX.dll
LogExit: Preparing to exit.

```

No binaries are checked in, everything is build by the build machine it self. Should the build compile a version of that dll? Because I can’t find any section in the log where he is doing that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2fc8a6ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2fc8a6ac](https://forums.unrealengine.com/u/anonymous_user_2fc8a6ac)\
**Post date:** [April 22, 2016, 2:35pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/2 "2016-04-22T14:35:56Z")

</div>

As workaround we do now a build step before the packaging/cooking to build the UE4Editor-ProjectX.dll:

C:/Program Files (x86)/Epic Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe ProjectX Development Win64 -project=“D:/ProjectX/ProjectX.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE -2015

Works fine for now.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 27, 2016, 5:35pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/3 "2016-04-27T17:35:08Z")

</div>

Hey MartinSE-

I’m glad you were able to find a workaround for your problem, however I’m not sure I understand what was wrong originally. Can you provide more clarification of the issue you were having? Also, are you able to reproduce this issue in a new project? If so, can you provide step by step instructions for me to reproduce the issue locally?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 4, 2016, 7:46pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/4 "2016-05-04T19:46:08Z")

</div>

Hi MartinSE,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1718c2c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1718c2c9](https://forums.unrealengine.com/u/anonymous_user_1718c2c9)\
**Post date:** [April 19, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/5 "2017-04-19T16:45:58Z")

</div>

Hi

I found this post after having the same issue myself. Here are some repro steps:

1. Launch Unreal Engine 4.15.0.
2. Create a new project (C++, Basic Code, No Starter Content).
3. Close Unreal Editor and Visual Studio (saving the solution).
4. From the project folder, run the command line similar to:`RunUAT BuildCookRun -project="full_project_path_and_project_name.uproject" -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="Output Directory"`
5. Result is successful build.
6. Add gitignore from here: [gitignore/UnrealEngine.gitignore at main · github/gitignore · GitHub](https://github.com/github/gitignore/blob/master/UnrealEngine.gitignore)
7. Create new git repo in project folder.
8. Commit all non-ignored files.
9. Perform git clean, removing all untracked files.
10. Again, run the command line similar to:`RunUAT BuildCookRun -project="full_project_path_and_project_name.uproject" -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="Output Directory"`
11. Result is failed build with error mentioned by OP.

I am currently having this issue, and I do not want to have to use the workaround mentioned by OP if possible.

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [June 12, 2017, 3:58pm UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/6 "2017-06-12T15:58:14Z")

</div>

Hi ,

Sorry for the delayed response. I ran through your repro steps and the second build in step 10 ended up completing successfully for me. Do you still see this issue in 4.15.3 or 4.16.1?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_24cff47d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_24cff47d](https://forums.unrealengine.com/u/anonymous_user_24cff47d)\
**Post date:** [January 30, 2018, 4:46am UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/7 "2018-01-30T04:46:32Z")

</div>

I finally found the workaround after trying a lot of things out. Note that if you change parameter below things _might not_ work!

1. First you need to do build:

2. Call RunUAT:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e85bfbf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e85bfbf](https://forums.unrealengine.com/u/anonymous_user_7e85bfbf)\
**Post date:** [June 7, 2018, 7:10am UTC](https://forums.unrealengine.com/t/automated-build-system-errors-ue4editor-x-dll-missing/355076/8 "2018-06-07T07:10:22Z")

</div>

MartinSE: Your “work-around” saved me big time. I am not sure how this “bug” arises in the first place…
