# Unreal Build Tool error for only one project

**URL:** <https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027>\
**Category:** Programming & Scripting\
**Tags:** unreal-build-tool, build-project-files, build, unreal-engine, question\
**Created:** [June 2, 2024, 7:02am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027 "2024-06-02T07:02:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [June 2, 2024, 7:02am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/1 "2024-06-02T07:02:52Z")

</div>

I recently added some plugins to my project (Lyra’s CommonGame, CommonUser, and ModularGameplayActors plugins). But when I tried to regenerate my project files to index the plugins, I got this error from UBT:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/3/113593e86a7099d97920458981f8d700aa457b0a.png)

… referring to this code in UnrealBuildTool.cs:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/0/6d03d9b5bcdb3ab6d64f0aa50f0847faf4a0323f.png)

I am using the current “release” branch of Unreal’s source, with a PS5 platform extension. I have tried _everything_ I can think of to fix this, and nothing works.

I tried removing the plugins; I tried reverting back several versions to long before this error started happening; I tried completely uninstalling my source build of the engine and reinstalling it from scratch, removing all of my engine plugins and platform extensions. I tried endless combinations of Build.cs dependencies, .uproject settings, and Target.cs settings. I _still_ get this error.

The strangest part is that this error only occurs for _this_ project with _this_ build of the engine. I can build any other project perfectly fine on the same engine, and I can build this project perfectly fine on any binary engine version.

I even created a new project, copied _all_ of my plugins, dependencies, and project settings, and re-built it, and the new project didn’t give me this error, while the original project still gives it.

The only solution I can imagine now is creating a new project from scratch, copying all of of my source, and migrating all of my assets; but this is a massive project and that’s just not possible. I’m really at a loss here, and am desperate for any possible fixes.

---

<div class="post-metadata">

**Author:** ![FrostyJas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frostyjas/32/1194640_2.png) [@FrostyJas](https://forums.unrealengine.com/u/FrostyJas)\
**Post date:** [June 2, 2024, 8:45am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/2 "2024-06-02T08:45:33Z")

</div>

Greetings @Samathan

The part that caught my eye(And likely yours as well) was the ‘Some platforms were skipped due to invalid SDK setup’. I pulled a post from a year or 2 back that someone had ran into. I’d start there and see if it’s the same reason. [Some Platforms were skipped due to invalid SDK setup](https://forums.unrealengine.com/t/some-platforms-were-skipped-due-to-invalid-sdk-setup/644310)

---

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [June 2, 2024, 9:29am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/3 "2024-06-02T09:29:28Z")

</div>

I don’t have any of the SDKs set up for those platforms, but they’re all disabled for this project. All of my other projects give me the same message when generating project files, but they still generate them succesfully.

---

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [June 2, 2024, 6:29pm UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/4 "2024-06-02T18:29:39Z")

</div>

I’ve found that if I generate the project files with a binary engine version, then run my source build to open the “open project” prompt, click “browse,” and select my project (built with the binary version), the game will prompt me to rebuild its modules. That switches the target engine in the .uproject, and I can open my project with the source build of the engine.

But that doesn’t update my solution. If I try to build or run my project using the .sln, it switches back to the binary version. I still cannot manually re-generate my project files with the correct engine version.

---

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [June 6, 2024, 12:55am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/5 "2024-06-06T00:55:54Z")

</div>

Bumping this because I still haven’t been able to figure it out…

---

<div class="post-metadata">

**Author:** ![Samathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/samathan/32/1058905_2.png) [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Post date:** [June 7, 2024, 3:13am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/6 "2024-06-07T03:13:10Z")

</div>

Alright, after a _lot_ of trial and error, I found the problem to be the `Platforms` folder in the project’s directory, where additional platform configurations are held. For some reason, these settings—for me, it was PS5 settings—being configured incorrectly results in this mysterious error code, without providing _any_ information on what’s wrong. For now, I’ve just deleted the `Platforms` folder entirely (not the engine extension; just the project’s settings), and I’m now able to properly build the project.

---

<div class="post-metadata">

**Author:** ![FrostyJas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frostyjas/32/1194640_2.png) [@FrostyJas](https://forums.unrealengine.com/u/FrostyJas)\
**Post date:** [June 7, 2024, 10:30am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/7 "2024-06-07T10:30:36Z")

</div>

Ah, right on! I knew it had to be something along those lines. Although I wasn’t sure where the problem would be specifically. I’m glad you figured it out, though!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 7, 2024, 10:31am UTC](https://forums.unrealengine.com/t/unreal-build-tool-error-for-only-one-project/1885027/8 "2024-07-07T10:31:03Z")

</div>

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